2022-10-30 15:13:19 -07:00
|
|
|
# `MD050` - Strong style should be consistent
|
2022-10-29 23:21:45 -07:00
|
|
|
|
2022-10-30 15:13:19 -07:00
|
|
|
Tags: `emphasis`
|
2022-10-29 23:21:45 -07:00
|
|
|
|
2022-10-30 15:13:19 -07:00
|
|
|
Aliases: `strong-style`
|
2022-10-29 23:21:45 -07:00
|
|
|
|
|
|
|
Parameters:
|
|
|
|
|
2022-11-13 20:53:10 -08:00
|
|
|
- `style`: Strong style should be consistent (`string`, default `consistent`,
|
2022-11-05 17:34:37 -07:00
|
|
|
values `asterisk` / `consistent` / `underscore`)
|
2022-10-29 23:21:45 -07:00
|
|
|
|
2022-12-16 13:53:03 -08:00
|
|
|
Fixable: Some violations can be fixed by tooling
|
2022-10-29 23:21:45 -07:00
|
|
|
|
|
|
|
This rule is triggered when the symbols used in the document for strong do not
|
|
|
|
match the configured strong style:
|
|
|
|
|
|
|
|
```markdown
|
|
|
|
**Text**
|
|
|
|
__Text__
|
|
|
|
```
|
|
|
|
|
|
|
|
To fix this issue, use the configured strong style throughout the document:
|
|
|
|
|
|
|
|
```markdown
|
|
|
|
**Text**
|
|
|
|
**Text**
|
|
|
|
```
|
|
|
|
|
|
|
|
The configured strong 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.
|