Closed ccaum closed 12 years ago
Backticks (including multiple backticks) create inline code: x+5
→ <code>x+5</code>
. They do not create code blocks. And, as you'd expect, they don't support inserting blank line. This is true, both in Maruku and in the original Markdown.
If you want code blocks in Maruku, you need to use either indented code blocks or, if you are using a version of Maruku which supports it, fenced code blocks.
Closing this in favor of #28, which is to fully support fenced code blocks.
My Nokogiri branch (which I thought you already merged) already supports fenced code blocks, by default.
Yes, it supports tilde-style fenced code blocks, but not GitHub-style backtick code blocks.
When parsing the following markdown:
I get this exception thrown due to the empty line.: