markdown-guide icon indicating copy to clipboard operation
markdown-guide copied to clipboard

Alignment of nested blockquote

Open huyz opened this issue 3 years ago • 0 comments

https://www.markdownguide.org/basic-syntax/#nested-blockquotes currently has

> Dorothy followed her through many of the beautiful rooms in her castle.
>
>> The Witch bade her clean the pots and kettles and sweep the floor and keep the fire fed with wood.

Shouldn't that be

> > The Witch bade her clean the pots and kettles and sweep the floor and keep the fire fed with wood.

with a space between the >s? I would think that you would want to align Dorothy with > The Witch.

To drive home the point, imagine if the nesting is 5 levels deep and (1) you're trying to figure out alignment or (2) you're trying to use column-oriented editor commands (such as vim's visual block) to manipulate indentation levels: the inconsistent alignment would make things a lot harder.

This is becoming much more important as Obsidian, MS Markdown, and Github are starting to support blockquote-based callouts and nesting happens very often now.

huyz avatar Sep 10 '22 08:09 huyz