Aliases: strong-style
Tags: emphasis
Fixable: Some violations can be fixed by tooling
This rule is triggered when the symbols used in the document for strong text do not match the configured strong style:
**Text**
__Text__To fix this issue, use the configured strong style throughout the document:
**Text**
**Text**The configured strong style can be a specific symbol to use (asterisk, underscore) or can require all strong text matches the first strong text (consistent).
Note: Strong emphasis within a word is restricted to asterisk in order to avoid unwanted emphasis for words containing internal underscores like__this__one.
style: Strong style (string, defaultconsistent, valuesasterisk/consistent/underscore)
[linters.settings.strong-style]
style = "asterisk"This paragraph uses **consistent** asterisk strong throughout the **entire** document.This paragraph uses __consistent__ underscore strong throughout the __entire__ document.This paragraph **uses** both __kinds__ of strong marker.This paragraph uses **only** asterisk strong **throughout**.This paragraph uses **asterisk** and __underscore__ strong.This paragraph uses __only__ underscore strong __throughout__.This paragraph uses __underscore__ and **asterisk** strong.Strong emphasis (triple markers) follows the same consistency rules:
This has ***strong emphasis*** and ***more strong emphasis*** (consistent).
This has ***strong emphasis*** and ___strong emphasis___ (inconsistent).Strong text in code contexts is ignored:
This has `**strong in code**` and **actual strong** (only actual strong is checked).Consistent formatting makes it easier to understand a document.