title: Code block in numbered list (Wiki syntax)
body: <p>In MediaWiki (wikipedia's) wiki syntax, is there a way to have a numbered list with a code block in the middle?</p>
  
  <p>For example:</p>
  
  <pre>
  # Number 1
  # Number 2
    Indented section that will become a code block
  # Number 3
  # Number 4
  </pre>
  
  <p>What happens in MediaWiki is you end up with something like this:</p>
  
  <pre>
  1. Number 1
  2. Number 2
     Indented section that will become a code block
  1. Number 3
  2. Number 4
  </pre>
  
  <p>(Note how "Number 3" and "Number 4" are reset as 1 and 2... It looks like StackOverflow is much smarter than MediaWiki, i had to put my example in PRE tags to make it screw up!)</p>
  
  <p>I know you can <em>indent</em> text using "#:" syntax...</p>
  
  <pre>
  # Number 1
  # Number 2
  #: Indented section that will merely be indented
  # Number 3
  # Number 4
  </pre>
  
  <p>...but I really would like to get the same visual CSS class for my code even if it's in a numbered list.</p>
  
  <p>It gets even more entertaining with nested lists. This syntax...</p>
  
  <pre>
  # MainEntry 1
  ## Number 1
  ## Number 2
  # MainEntry 2
  ## Number 1
  ## Number 2
    Indented section that will become a code block
  ## Number 3
  ## Number 4
  </pre>
  
  <p>...becomes...</p>
  
  <pre>
  1. MainEntry 1
     1. Number 1
     2. Number 2
  2. MainEntry 2
     1. Number 1
     2. Number 2
        Indented section that will become a code block
  1. 1. Number 3
     2. Number 4
  </pre>
  
  <p>(Note how "Number 3" is now "1. 1.")</p>