Skip to main content
4 of 4
Rewrite to clarify, simplify and incorporate comments
wjandrea
  • 14.4k
  • 12
  • 11

If you put a code block after a list, the code block isn't formatted properly:

  • bullet

    code block

You can resolve this by indenting the code block 8 spaces, which nests it under the bullet:

  • bullet

      code block
    

Or put something invisible between them, like an HTML comment <!-- comment --> or a Markdown comment <% comment %>, which doesn't nest it:

  • bullet

<%%>

code block
earthmeLon
  • 11.5k
  • 13
  • 4