-
Notifications
You must be signed in to change notification settings - Fork 2
DdToken (EN)
bhsd edited this page Jun 3, 2024
·
3 revisions
:
which is at the same line with ;
.
All of the following properties and methods are not available in the Mini and Browser versions.
type: number
Indentation.
// indent (main)
var {lastElementChild} = Parser.parse(';;a::b');
assert.equal(lastElementChild, '::');
assert.strictEqual(lastElementChild.indent, 2);
lastElementChild.indent = 1;
assert.equal(lastElementChild, ':');
returns: this
Deep clone the node.
// cloneNode (main)
var {lastElementChild} = Parser.parse(';a::');
assert.equal(lastElementChild, ':');
assert.deepStrictEqual(lastElementChild.cloneNode(), lastElementChild);
对维基文本批量执行语法检查的命令行工具
用于维基文本的 ESLint 插件
A command-line tool that performs linting on Wikitext in bulk
ESLint plugin for Wikitext