Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 155 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates

Possible Duplicate:
Code block is not properly formatted when placed immediately after a list item

When placing code directly after a list. The code is not recognized. See the example below.

- something

    some code

looks like this:

  • something

    some code

should look like this:

  • something
some code
share|improve this question

marked as duplicate by balpha Jan 23 '13 at 9:15

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
This is a dupe, ill find it in a sec. – Ólafur Waage Nov 13 '09 at 13:10
    
    
no It's not. The other was about putting code into a list. This is about putting code after a list. The solution there was to put 8 spaces instead of 4 spaces before the code. 8 spaces make the code be part of the list. – johannes Nov 13 '09 at 13:14
    
agree, not quite a duplicate, but also something that can be tested at the babelmark.bobtfish.net – Jeff Atwood Nov 13 '09 at 13:50
up vote 6 down vote accepted

Yes, if you absolutely, positively must have code RIGHT AFTER a bulleted list, then you need something between the two elements to seperate them. You can use an HTML comment or other non-printable element (say, a  ), like so.

  • item1
  • item2
 this is code
share|improve this answer
1  
... or indent it by 8 spaces. – Brad Gilbert Nov 13 '09 at 14:33

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