MDS059: blockquote-whitespace
Blockquote markers must not be followed by multiple spaces, and adjacent blockquote blocks must not be separated by blank lines.
Two defects are flagged:
- MD027 — more than one space after a
>marker (> text). The fix collapses the extra spaces to a single space. - MD028 — a blank line between two adjacent sibling blockquote blocks. Renderers disagree on whether the gap merges the blocks or keeps them separate, so the fix is flag-only.
# Config
Enable (default):
rules:
blockquote-whitespace: trueDisable:
rules:
blockquote-whitespace: false# Examples
# Good
# Title
> This blockquote has one space after the marker.
Some text between the blockquotes.
> Another blockquote, separated by a paragraph.# Good — internal blank via marker
# Title
> First paragraph in the blockquote.
>
> Second paragraph in the same blockquote.# Bad — multiple spaces (MD027)
# Title
> Two spaces after the blockquote marker.# Bad — blank line between blockquotes (MD028)
# Title
> First blockquote.
> Second blockquote.# Meta-Information
- ID: MDS059
- Name:
blockquote-whitespace - Status: ready
- Default: enabled
- Fixable: MD027 yes; MD028 no
- Implementation: source
- Category: whitespace
- markdownlint:
- rumdl:
- mado:
- obsidian-linter:
- blockquote-style (partial)
- empty-line-around-blockquotes (partial)