mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-16 14:00:13 +01:00
20 lines
487 B
Markdown
20 lines
487 B
Markdown
|
|
This rule is triggered when the symbols used in the document for emphasis do not
|
||
|
|
match the configured emphasis style:
|
||
|
|
|
||
|
|
```markdown
|
||
|
|
*Text*
|
||
|
|
_Text_
|
||
|
|
```
|
||
|
|
|
||
|
|
To fix this issue, use the configured emphasis style throughout the document:
|
||
|
|
|
||
|
|
```markdown
|
||
|
|
*Text*
|
||
|
|
*Text*
|
||
|
|
```
|
||
|
|
|
||
|
|
The configured emphasis style can be a specific symbol to use ("asterisk",
|
||
|
|
"underscore"), or can require that usage be consistent within the document.
|
||
|
|
|
||
|
|
Rationale: Consistent formatting makes it easier to understand a document.
|