Skip to main content
replaced http://meta.stackexchange.com/ with https://meta.stackexchange.com/
Source Link

Because it was included immediately following a bulleted list, the markdown parser made it part of that bulleted list. Notice how it was indented and how it lines up with the bulleted text:

   

In order to indicate that code blocks in a bulleted list should be formatted as code, you need to indent lines with eight (8) spaces, rather than the usual four (4). After you do that, everything works fine.

And of course, the reason it worked fine with only 4 spaces here on Meta is because there are no bullets in your question.

(See also: Code block is not properly formatted when placed immediately after a list itemCode block is not properly formatted when placed immediately after a list item)

Because it was included immediately following a bulleted list, the markdown parser made it part of that bulleted list. Notice how it was indented and how it lines up with the bulleted text:

   

In order to indicate that code blocks in a bulleted list should be formatted as code, you need to indent lines with eight (8) spaces, rather than the usual four (4). After you do that, everything works fine.

And of course, the reason it worked fine with only 4 spaces here on Meta is because there are no bullets in your question.

(See also: Code block is not properly formatted when placed immediately after a list item)

Because it was included immediately following a bulleted list, the markdown parser made it part of that bulleted list. Notice how it was indented and how it lines up with the bulleted text:

   

In order to indicate that code blocks in a bulleted list should be formatted as code, you need to indent lines with eight (8) spaces, rather than the usual four (4). After you do that, everything works fine.

And of course, the reason it worked fine with only 4 spaces here on Meta is because there are no bullets in your question.

(See also: Code block is not properly formatted when placed immediately after a list item)

Fixup of bad MSO links to MSE links migration
Source Link
Fixup of bad MSO links to MSE links migration
Source Link
Fixup of bad MSO links to MSE links migration
Source Link
Loading
Migration of MSO links to MSE links
Source Link
Loading
Source Link
Cody Gray
  • 64.4k
  • 23
  • 197
  • 313
Loading