bold header - bhsd-harry/wikiparser-node GitHub Wiki

bold-header

⚠️ By default, this rule reports bolding in section headers as warnings.

Examples

Examples of incorrect code for { "bold-header": 2 }:

=='''Foo'''==

Examples of correct code for { "bold-header": 0 }:

=='''Foo'''==

Options

tag name

This rule can be configured for specific HTML tags (<b> and <strong>) by providing an object with the tag name as the key and the severity as the value.

Examples of incorrect code for { "bold-header": [ 0, { "b": 2 } ] }:

==<b>Foo</b>==

Examples of correct code for { "bold-header": [ 2, { "b": 0 } ] }:

==<b>Foo</b>==
⚠️ **GitHub.com Fallback** ⚠️