It depends on what HTML the [code] command generates. If it creates
something like <pre>, then you can add that tag into the skipTags
array in the tex2jax block of your configuration. (But <pre> should
already be there, so I assume [code] is generating something else).
If it creates a tag with a particular class name, you could add that
class to the pattern in the ignoreClass property of the tex2jax block
of your configuration. E.g., if [code] produced <div class="code">
then set ignoreClass to "tex2jax_ignore|code".
If you can't do either of those, then wrapping the code in <div
class="tex2jax_ignore">...</div> would prevent MathJax from processing
the contents of the <div> (i.e., your code).
See
http://www.mathjax.org/docs/2.0/options/tex2jax.html
for details (look for skipTags and ignoreClass).
Davide
On Aug 19, 2012, at 12:21 AM, <
coib...@gmail.com>