Text Editor issue with the code block


(LoveDiscourse) #1

If you would like to start a code block with the “>” character it turns into a blockquote block.

Code:

Try this:    > (4 spaces and 1 >)

Result:

>

(5an1ty) #2

Just tried it out on my install, same issue there.


(Jeff Atwood) #3

Yep, that is a bug, four spaces plus > should produce a code block. @eviltrout can you make sure that’s on your list?


(Robin Ward) #4

All fixed now, thanks for reporting it. I also submitted this upstream to markdown-js:

https://github.com/evilstreak/markdown-js/pull/133


(Jeff Atwood) #5
> 

Looks good now. Thanks for these fixes @eviltrout, we (and markdown-js) are now MDTest 1.1 compliant!


(Jeff Atwood) #6