title: Indenting code in MediaWiki
body: <p>Is it possible to indent a block of code in MediaWiki using <a href="http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi" rel="noreferrer">SyntaxHighlight GeSHi</a>?</p>
  
  <p>For example, I would like the code container below to be aligned with the third-level list</p>
  
  <pre><code>* This is plain text of a first-level list to be rendered by MediaWiki
  ** This is plain text of a a second-level list to be rendered by MediaWiki
  *** This is plain text of a third-level list to be rendered by MediaWiki
  
  &lt;source lang="Cpp"&gt;
  int main(int argc, char** argv)
  {
      my_function(4, 1, 2, 3);
      return 0;
  }
  &lt;/source&gt;
  </code></pre>
  
  <p>I have tried wrapping the GeSHi code container with <a href="http://en.wikipedia.org/wiki/Colon_(punctuation)" rel="noreferrer">colons</a> (using  MediaWiki's standard <a href="http://www.mediawiki.org/wiki/Help:Formatting" rel="noreferrer">indentation syntax</a>), but that prevents SyntaxHighlight GeSHi from parsing the code correctly.</p>
  
  <p>Just to clarify, I would like to avoid wrapping my code with <code>&lt;code&gt;&lt;/code&gt;</code> as I need proper syntax highlighting.</p>
  
  <p>Any suggestions?</p>