#7138 Markup can't handle code sections after a bulleted list.

unreleased
open
nobody
None
Wiki
nobody
2015-04-03
2014-02-06
Anonymous
No

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.

  • Item 1
  • Item 2
Some code
  code

Discussion

  • Chris Tsai - 2014-02-06

    Some workarounds:

    1) use a   to "break out" of the list prior to the code block:

    eg.

    • Item 1
    • Item 2

     

    Some code
      code
    

    2) Indent by 4 spaces to make the code block a part of the list item:

    eg.

    • Item 1
    • 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.

     

Log in to post a comment.