mdit-py-plugins
mdit-py-plugins copied to clipboard
added the dollar signs as equation delimiters
Mathjax recognizes TeX math equations by delimiters(https://docs.mathjax.org/en/latest/input/tex/delimiters.html), without delimiters it is nearly impossible for Mathjax to render the equations in webpage.
Thanks for submitting your first pull request! You are awesome! :hugs:
If you haven't done so already, check out EBP's Code of Conduct and our Contributing Guide, as this will greatly help the review process.
Welcome to the EBP community! :tada:
Just found this issue and this would also be useful for me. The output of the dollarmath plugin doesn't render using the default MathJax configuration. However @redstoneleo, I would suggest to use \(...\) and \[...\] instead of $...$ and $$...$$, respectively, since they are used by the MathJax default config ($...$ are even disabled by default), which is explained in the link in you OP.
Is there a chance to get this merged or are there reasons why this is not wanted?