2022-10-30 15:13:19 -07:00
|
|
|
# `MD027` - Multiple spaces after blockquote symbol
|
2022-10-29 23:21:45 -07:00
|
|
|
|
2022-10-30 15:13:19 -07:00
|
|
|
Tags: `blockquote`, `indentation`, `whitespace`
|
2022-10-29 23:21:45 -07:00
|
|
|
|
2022-10-30 15:13:19 -07:00
|
|
|
Aliases: `no-multiple-space-blockquote`
|
2022-10-29 23:21:45 -07:00
|
|
|
|
2025-03-03 23:22:28 -08:00
|
|
|
Parameters:
|
|
|
|
|
|
|
|
- `list_items`: Include list items (`boolean`, default `true`)
|
|
|
|
|
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 blockquotes have more than one space after the
|
|
|
|
blockquote (`>`) symbol:
|
|
|
|
|
|
|
|
```markdown
|
|
|
|
> This is a blockquote with bad indentation
|
|
|
|
> there should only be one.
|
|
|
|
```
|
|
|
|
|
|
|
|
To fix, remove any extraneous space:
|
|
|
|
|
|
|
|
```markdown
|
|
|
|
> This is a blockquote with correct
|
|
|
|
> indentation.
|
|
|
|
```
|
|
|
|
|
2025-03-03 23:22:28 -08:00
|
|
|
Inferring intended list indentation within a blockquote can be challenging;
|
|
|
|
setting the `list_items` parameter to `false` disables this rule for ordered
|
|
|
|
and unordered list items.
|
|
|
|
|
2022-10-29 23:21:45 -07:00
|
|
|
Rationale: Consistent formatting makes it easier to understand a document.
|