syntax like - bhsd-harry/wikiparser-node GitHub Wiki
❌ By default, this rule reports plain text that look like certain Wikitext syntax as errors.
Examples of correct code for { "syntax-like": 2 }:
Foo
==Bar
Foo
==Bar[//example.com ==]Foo
#redirect
:[[Bar]]This option can be configured to specify the severity of heading-like text.
Examples of incorrect code for { "syntax-like": [ 0, { "heading": 2 } ] }:
==Foo== .
=={{Foo
|Bar}}== .
==[[Foo|
Bar]]==
<poem>
Foo
==Bar==
</poem>Examples of correct code for { "syntax-like": [ 2, { "heading": 0 } ] }:
==Foo== .
=={{Foo
|Bar}}== .
==[[Foo|
Bar]]==
<poem>
Foo
==Bar==
</poem>This option can be configured to specify the severity of redirect-like text.
Examples of incorrect code for { "syntax-like": [ 0, { "redirect": 2 } ] }:
Foo
#redirect: [[Bar]]Foo
#REDIRECT
[[File:Bar]]Examples of correct code for { "syntax-like": [ 2, { "redirect": 0 } ] }:
Foo
#redirect: [[Bar]]Foo
#REDIRECT
[[File:Bar]]