Please login or register.

Markdown code blocks

Posting large code blocks using this format

three times `
code
code
three times `

makes my browser want to kill itself.

Also, this doesn't work:

<>

(Should give <>)

Replies: 2
Eddieh edited 8 years ago Replies: 1 | Weight: -519 | Link [ - ]

I'm not sure I understand the issues. Does your browser start lagging when trying to insert huge chunks of text? Do you have JavaScript enabled? If so, there is a fix coming soon™, where the editor will be replaced with a more robust and less laggy one.

If I understand the other issue correctly, the <> code does not work, because it is seen as an HTML tag and those are escaped. This is due to the fact that allowing these characters is a security issue.

Reply to: Eddieh
arnuschky edited 8 years ago Weight: -519 | Link [ - ]

No, it's not a large chunk of text, it's just the following piece of code: https://bitcointalk.org/index.php?topic=583449.msg11076989#msg11076989 When I embed this code using markdown syntax in this forum (three times ` at start and end), my browser blocks. Must be some sort of parsing issue.

Of course it's some sort of escaping issue, but escaping <> in code but not in text seems wrong or at least inconsistent, no?