Skip to content
Snippets Groups Projects
  • Martin Goth's avatar
    0cb4d105
    Allow tex parsing in <code> tags · 0cb4d105
    Martin Goth authored
    Just using $ as delimiter in markdown document fails since the markdown
    parser unknown to the dollar syntax will try to interpret underscores.
    Putting the $ delimented formula in backticks will cause the markdown
    parser to put the tex-code with the $ delimiters into a code block.
    The texcode will then be unchanged. This patch allows for mathJax to
    interpret and automagically display the tex-formulas.
    0cb4d105
    History
    Allow tex parsing in <code> tags
    Martin Goth authored
    Just using $ as delimiter in markdown document fails since the markdown
    parser unknown to the dollar syntax will try to interpret underscores.
    Putting the $ delimented formula in backticks will cause the markdown
    parser to put the tex-code with the $ delimiters into a code block.
    The texcode will then be unchanged. This patch allows for mathJax to
    interpret and automagically display the tex-formulas.