Repository navigation
singleLine
Bhsd edited this page Jun 15, 2026
·
4 revisions
This is an internal document. For visitors, you can now go back to the home page.
// toString (main)
var {singleLine} = require("../mixin/singleLine");
var SingleLineToken, token;
class S {
type = "comment";
toString() {
return "a\nb\nc";
}
}
SingleLineToken = singleLine(S);
token = new SingleLineToken();
assert.strictEqual(token.toString(), "a b c");// text (main)
var {singleLine} = require("../mixin/singleLine");
var SingleLineToken, token;
class S {
text() {
return "a\nb\nc";
}
}
SingleLineToken = singleLine(S);
token = new SingleLineToken();
assert.strictEqual(token.text(), "a b c");对维基文本批量执行语法检查的命令行工具
轻量级的维基模板解析器
维基文本语言服务器协议实现
用于维基文本的 VS Code 扩展
A command-line tool that performs linting on Wikitext in bulk
A lightweight Wikitext template parser
An implementation of the Language Server Protocol for Wikitext
VS Code extension for Wikitext