Skip to content

MD027 - No multiple spaces after quote marker

Aliases: no-multiple-space-blockquote

What this rule does

Ensures quoted text has only one space after the > symbol, not multiple spaces.

Why this matters

  • Consistency: Extra spaces create uneven indentation in quotes
  • Readability: Consistent spacing makes quoted content easier to follow
  • Standards: One space after > is the Markdown convention

Examples

✅ Correct

> This is a properly formatted quote.
> Each line has one space after the > symbol.
> 
> Even with paragraph breaks.

> > Nested quotes also follow this rule.
> > Each level has one space.

❌ Incorrect

>  This quote has two spaces after >
>   This line has three spaces
>    This line has four spaces

> >  Nested quote with extra spaces

🔧 Fixed

> This quote has two spaces after >
> This line has three spaces
> This line has four spaces

> > Nested quote with extra spaces

Configuration

This rule has no configuration options.

Automatic fixes

This rule automatically removes extra spaces, leaving just one space after each > symbol.

Learn more

  • MD028 - No blank lines inside quotes
  • MD009 - No trailing spaces
  • MD032 - Lists should be surrounded by blank lines