Originally created by: willpittenger
I noticed that Markup appears to choke when a ~~~~ code sample follows a bulleted list. See the sample below. The code isn't formatted as code.
Some code code
Some workarounds:
1) use a to "break out" of the list prior to the code block:
eg.
2) Indent by 4 spaces to make the code block a part of the list item:
Item 2
~~~~ Some code code ~~~~
And, since it's difficult to show the "raw" formatting, I've attached the contents of this post to this ticket as a txt file.
This is a limitation in the markdown library used. https://github.com/waylan/Python-Markdown/issues/53
Log in to post a comment.
Some workarounds:
1) use a
to "break out" of the list prior to the code block:eg.
2) Indent by 4 spaces to make the code block a part of the list item:
eg.
Item 2
~~~~
Some code
code
~~~~
And, since it's difficult to show the "raw" formatting, I've attached the contents of this post to this ticket as a txt file.
This is a limitation in the markdown library used. https://github.com/waylan/Python-Markdown/issues/53