h1 - bhsd-harry/wikiparser-node GitHub Wiki
<h1>
as warnings.
Examples of incorrect code for { "h1": 2 }
:
=Foo=
Examples of correct code for { "h1": 0 }
:
=Foo=
By default, this rule also reports <h1>
tags. You can configure this behavior by passing an object with an html
property.
Examples of incorrect code for { "h1": [ 0, { "html": 2 } ] }
:
<h1>Foo</h1>
Examples of correct code for { "h1": [ 2, { "html": 0 } ] }
:
<h1>Foo</h1>