5

Just wondering if this is a bug or as intended:

Code before List item

<- 4 Spaces for code (working)

    <- 8 Spaces for code (working)

Code After List Item

  • <- List Item

    <- 4 Spaces for code (not working)

    <- 8 Spaces for code (working)
    

1 Answer 1

5

This is the expected behavior with Markdown.

As the Markdown spec states,

List items may consist of multiple paragraphs. Each subsequent paragraph in a list item must be indented by either 4 spaces or one tab:

  1. This is a list item with two paragraphs. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aliquam hendrerit mi posuere lectus.

    Vestibulum enim wisi, viverra nec, fringilla in, laoreet vitae, risus. Donec sit amet nisl. Aliquam semper ipsum sit amet velit.

  2. Suspendisse id sem consectetuer libero luctus adipiscing.

1
  • 1
    Thanks for the answer, devil is always in the missed details :)
    – hoss
    Commented Jul 11, 2013 at 16:23

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .