commonmark / commonmark-spec

CommonMark spec, with reference implementations in C and JavaScript
http://commonmark.org
Other
4.89k stars 317 forks source link

mentioned twice: "An indented code block cannot interrupt a paragraph" #783

Closed winstonDeGreef closed 15 hours ago

winstonDeGreef commented 17 hours ago

Mentioned once just before example 107: An indented code block cannot interrupt a paragraph, so there must be a blank line between a paragraph and a following indented code block. (A blank line is not needed, however, between a code block and a following paragraph.)

and once just before example 113: An indented code block cannot interrupt a paragraph. (This allows hanging indents and the like.)

jgm commented 15 hours ago

I think this is okay. The first mention is part of the general specification of the rule. The second is commentary on a particular example (which is logically connected to the next few examples).