Code highlighting bug?

Some User's Avatar

Some User

25 Jan, 2013 10:49 PM

The attached Markdown file doesn't render properly. There seems to be some mixup between the code blocks. If the two code blocks are delimited with the same number of backticks, the bug shows up. If, e.g., the first code block is delimited by sets of 4 backticks and the second code block by sets of 5 backticks, the rendering is ok.

i know Matlab syntax highlighting isn't currently supported but chaging it to python exhibits the same problem.

I have 'automatic syntax highlighting' and 'convert fenced code blocks' checked.

Thanks!

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Already uploaded files

  • testcode.md 98 Bytes
  • Screen_Shot_2013-01-25_at_5.48.48_PM.pdf 11.6 KB

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac