[kramdown-users] kramdown table-making has gone completely insane

Shawn Van Ittersum svicalifornia at gmail.com
Thu Oct 14 15:57:08 EDT 2010

Hi Thomas,

Are multi-line code spans allowed in kramdown?  Must they be written as indented code blocks?


On Thu, 14 Oct 2010 20:53:58 +0200, Thomas Leitner wrote:
> No, it is not since paragraphs, as stated above, are *closed* by blank
> lines. This is one of the most important features of the original
> Markdown syntax! Since code *spans* are **span level elements** they
> cannot cross block boundaries and therefore cannot contain block
> boundaries.
> As for the "ignoring the contents of the code spans": kramdown *is*
> ignoring the contents of code spans, just look at the implementation
> (`lib/kramdown/parser/kramdown/codespan.rb` and
> `lib/kramdown/converter/html.rb`). So please don't use this invalid
> argument anymore!
> The fact is (and the problem which lead to this very thread) that the
> current table syntax necessitates a syntax which sometimes produces not
> wanted code spans. And this is not the failure of the code span
> implementation but of the table syntax!

More information about the kramdown-users mailing list