-
Notifications
You must be signed in to change notification settings - Fork 2
HrToken (EN)
bhsd edited this page Jul 4, 2024
·
6 revisions
Horizontal Rule.
All of the following properties and methods are not available in the Mini and Browser versions.
returns: this
Deep clone the node.
// cloneNode (main)
var {firstChild} = Parser.parse('----');
assert.equal(firstChild, '----');
assert.deepStrictEqual(firstChild.cloneNode(), firstChild);
version added: 1.10.0
returns: string
Convert to 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