markdown-viewer
markdown-viewer copied to clipboard
MathJax: Support for double backslash delimiters
It doesn't support $O(n^2)$ and \(O(n^2)\) which works well in jupyter notebooks. I don't know where to update your code. Fix it soon.
Inline expressions are supported, the above definitions work on my end. You probably have some other issue. If your markdown is hosted on GitHub for example, you have to enable the Disable Content Security Policy for that origin in Advanced Options.
I have done disabling CSP. Now $inline$ works fine. But double backslash \\(inline\\) doesn't work well.
reference for double backslash: https://github.com/cben/mathdown/wiki/math-in-markdown
Currently only single backslash delimiters https://github.com/simov/markdown-viewer#mathjax are supported.
Can you extend it?
Can't remember exactly what the problem with the double backslash delimiters was, but I'll take a look.