-
Notifications
You must be signed in to change notification settings - Fork 3
lonely bracket
Examples of incorrect code for { "lonely-bracket": 2 }:
http://example.com Foo]Examples of correct code for { "lonely-bracket": 2 }:
[Foo][http://example.com [F]oo][http://example.com [F<nowiki>]</nowiki>oo]This option can be configured to specify the severity of -{ or }- if language conversion is enabled.
Examples of incorrect code for { "lonely-bracket": [ 0, { "converter": 2 } ] }:
-{}-Examples of correct code for { "lonely-bracket": { "converter": 0 } }:
-{}-This option can be configured to specify the severity of double square brackets or curly braces.
Examples of incorrect code for { "lonely-bracket": [ 0, { "double": 2 } ] }:
[[]]{{}}{{{Foo}}{{Foo}}}Examples of correct code for { "lonely-bracket": { "double": 0 } }:
[[]]{{}}{{{Foo}}{{Foo}}}❌ By default, this rule reports plain-text [ or ] that may be part of a broken external link syntax as errors. This can be configured by providing a extLink option with a severity value.
Examples of incorrect code for { "lonely-bracket": [ 0, { "extLink": 2 } ] }:
[http://example.com Foo[Foo https://example.com]Examples of correct code for { "lonely-bracket": { "extLink": 0 } }:
[http://example.com Foo[Foo https://example.com]This option can be configured to specify the severity of single square brackets or curly braces.
Examples of incorrect code for { "lonely-bracket": [ 0, { "single": 2 } ] }:
[]{}Examples of correct code for { "lonely-bracket": { "single": 0 } }:
[]{}对维基文本批量执行语法检查的命令行工具
轻量级的维基模板解析器
维基文本语言服务器协议实现
用于维基文本的 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