7

Not sure if this is the right place for the question, but in this question indenting by four spaces isn't creating a code block. It's working just fine if I ask a new question

like this

I found that adding a new line below my paragraph of text, then any text on the next line, then a blank line, then the code block made it work. I changed it to "Try this location block general pattern." Seems like a minor bug, perhaps after the bullet list is the key part.

Any thoughts?

0

1 Answer 1

7

As mentioned here, you have to add a comment after the list to help the markdown interpreter:

 - List item 
 - List item 

 <!----> 

    code 

Will show

  • List item
  • List item
code 
3
  • Thanks Sven. Seems like a bug being called a feature.
    – Tim
    Commented Feb 24, 2016 at 19:12
  • 3
    @Tim is there any other kind? :) Commented Feb 24, 2016 at 21:26
  • For reference: how it should be done in CommonMark Commented Feb 29, 2016 at 9:11

You must log in to answer this question.

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