-
Notifications
You must be signed in to change notification settings - Fork 1
HrToken
bhsd edited this page Jul 4, 2024
·
7 revisions
水平线。
以下所有属性和方法在 Mini 和 Browser 版本中均不可用。
returns: this
深拷贝节点。
// cloneNode (main)
var {firstChild} = Parser.parse('----');
assert.equal(firstChild, '----');
assert.deepStrictEqual(firstChild.cloneNode(), firstChild);
加入的版本: 1.10.0
returns: string
转换为 HTML。
// toHtml (main)
var {firstChild} = Parser.parse('----');
assert.strictEqual(firstChild.toHtml(), '<hr>');
对维基文本批量执行语法检查的命令行工具
用于维基文本的 ESLint 插件
A command-line tool that performs linting on Wikitext in bulk
ESLint plugin for Wikitext