#1435 Markdown code block doesn't work right after list

unreleased
invalid
sf-4 (350)
General
nobody
2011-03-23
2011-02-02
No
  • for example
this should be a
code block

but you have to have a regular paragraph before it

this
works

Discussion

  • Dave Brondsema

    Dave Brondsema - 2011-02-10
    • size: --> 2
     
  • John Hoffman - 2011-02-14
    • assigned_to: John Hoffmann
     
  • John Hoffman - 2011-02-15
    • status: open --> invalid
     
  • John Hoffman - 2011-02-15

    This is actually intended behaviour according to the markdown spec. It allows for paragraphs by indenting lines by 4 spaces. You can also insert code blocks in a list by using 8 spaces, but in order to close a list and follow with a code block you need a new paragraph.

     

Log in to post a comment.