<p>Several blogging systems now includes an optional syntax highlighting scheme for most common languages, including Python, Perl, Ruby, R, Matlab, etc. Code chuncks are post-processed using <a href="http://coderay.rubychan.de/" rel="nofollow noreferrer">CodeRay</a>, or <a href="http://pygments.org" rel="nofollow noreferrer">Pygments</a>, for example. Using Markdown language, we just have to indicate one of the available lexers and we get a nice rendering of the code. There are also javascript alternatives. This may also be used to automatically tag the different languages that are circulating on the SE. However, one potential drawback is that it may rely on users goodwill.</p>

<p>Another idea for larger snippets of code would be to put them on GitHub, as <a href="http://gist.github.com/" rel="nofollow noreferrer">Gist</a>. Again, on some blogging systems or CMS, giving the Gist URL allows to directly embed the code in the web page, as seen below.</p>

<p><img src="https://i.stack.imgur.com/s2dgw.png" alt="alt text"></p>

<p>What is your opinion about this possibility, especially with respect to language auto-tagging?</p>
