Closed jmmcd closed 12 years ago
Backticks (including multiple backticks) create inline code: x+5
→ <code>x+5</code>
. They do not create code blocks. Moreover, while you can include a leading and/or trailing space: `x+5`
→ <code>
x+5</code>
., you cannot (neither in Maruku, nor in the original Markdown ) include a leading or trailing linebreak.
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.
Apologies: I now see that this is documented for Github Flavored Markdown, not in Maruku itself.
When I use comment symbols (#) in code blocks (```), Maruku seems unable to parse my markdown. Here are two minimal test files, one with a comment and one without. As you can see, the one with the comment fails. I'm on OSX, Maruku 0.6.0.
x = 5
assign 5 to x
x = 5