h1 - bhsd-harry/wikiparser-node GitHub Wiki

h1

⚠️ By default, this rule reports <h1> as warnings.

Examples

Examples of incorrect code for { "h1": 2 }:

=Foo=

Examples of correct code for { "h1": 0 }:

=Foo=

Options

html

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>
⚠️ **GitHub.com Fallback** ⚠️