I am using pandoc to generate HTML , including LaTeX formulae, that are rendered into mathematical formulae by MathJax. Things were working correctly until recently when I discovered that a matrix equation did not get rendered by MathJax.
My source markdown text contains this:
If all this seems too abstract, here is a concrete example of a $2 \times 3$ matrix:
$$
A = \left[
1 & 3 & 5\\
2 & 4 & 6\\
\right]
$$
where we have $a_{12} = 3$ and $a_{21} = 2.$

This is rendered by pandoc into HTML as
If all this seems too abstract, here is a concrete example of a <span class="math">\(2 \times 3\)</span> matrix: <span class="math">\[
A = \left[
1 & 3 & 5\\
2 & 4 & 6\\
\right]
\]</span> where we have <span class="math">\(a_{12} = 3\)</span> and <span class="math">\(a_{21} = 2.\)</span></p>
MathJax used to render this correctly but now I see the image shown above. [Sorry I cannot figure out how to re-position it :-( ]
Can anyone tell me what I am doing wrong?
In case you want to see the rest of the correctly rendered MathJax stuff as part of a blog, please see:
http://swanlotus.org/varieties-of-multiplication/Thank you.