As of January 2014, Bitbucket only supports MathJax in for restructuredText files.
There is an open feature request for MathJax in markdown files.
Question
I put a private repository on Bitbucket.org, and this project needs some documentations that involve a lot of math stuff. I want to use Bitbucket Wiki and edit it in Markdown but how should I also enable MathJax to allow me to type in math equations in the markdown file?
The official documentation of bitbucket (https://confluence.atlassian.com/display/BITBUCKET/Use+a+wiki) does not seem to mention it. And I searched Google but found few useful results. Any idea?
No correct solution
OTHER TIPS
As of January 2014, Bitbucket only supports MathJax in for restructuredText files.
There is an open feature request for MathJax in markdown files.
I also searched & searched a few hours and I could not find it. But you need to use the reStructuredText :math: interpreted text role. One example is given below:
:math:`E[(Y - g(X))^{2} | X = x]`
You can also set math as default and leave out :math: in the above markup.
.. default-role:: math