1. Bitbucket
  2. Public Issue Tracker
  3. master
  4. Issues

Issues

Issue #7908 open

Enable mathjax in markdown (BB-9086)

memeplex
created an issue

I think you use python markdown, don't you? Just drop this trivial extension https://github.com/mayoff/python-markdown-mathjax in your pythonpath and include the mathjax js properly configured. Very low cost with high profits, don't you think? Why just rst while the sci community is moving towards markdown in tools like knitr and the ipython notebook.

Comments (33)

  1. Mike Hughes

    I'd really like to see this feature added! reStructured text is annoying to work with and requires looking up the syntax every few sentences, I'd much rather use Markdown.

  2. K L

    This should be fairly easy to add. Just take the MathJax js and stick it into pages header. Then the regular user can just use $$...$$ notation for LaTeX in their markdown. It really has nothing to do with Markdown. It's just a transformation done in the user's browser.

    I do this in my github page Jekell blog posts.

  3. Tommaso Grassi

    Hi all, a workaround I'm using to put equations in the wiki with Markdown.
    It's not the best solution in the world, but it works.
    If you have something more effective please let me know.

    To add equations I use this online editor https://www.codecogs.com/latex/eqneditor.php

    • Prepare the equations and then select PNG, (I usually set resolution to 150dpi)
    • Then at the bottom of the page select "URL encoded" and copy the URL from the field
    • Paste the URL into this Markdown command here below
    ![alternative text](URL "some comment text")
    

    For example, equation x = y - Lambda will be

    ![x=y-Lambda](https://latex.codecogs.com/png.latex?%5Cdpi%7B150%7D%20x%3Dy-%5CLambda "define x")
    

    that will render as

    x=y-Lambda

  4. Log in to comment