Parsing Code Blocks

Yuri Takhteyev qaramazov at gmail.com
Fri May 16 00:31:09 EDT 2008


Your first two examples are not treated as the same by any
implementation. It seems that all implementations interprete this:

~~~

> One

Two


> Three

Four

Five
~~~

as meaning that "One" is in a code block, but "Two" is not.

Or did you mean to put a few more spaces in front of "Two"?


> [spec]: <http://michelf.com/specs/markdown-extra/#block-element-generator>


I think it would help if the spec maked it more clear what part of
each line of the blockquote is consumed before we go looking for
sub-elements, especially as far as consuming initial whitespace goes.

- yuri

--
http://sputnik.freewisdom.org/


More information about the Markdown-Discuss mailing list