Question

I'm making a Haskell data type that represents mixed MathJax and Markdown. I am using Pandoc (as a library) to handle this stuff. I have figured out that the default ReaderOption for Pandoc will treat anything in $'s as math, as I expect. But it seems that if I set HTMLMathMethod to MathJax, I have to pass in the URL to a MathJax script. But I already have MathJax set up to load for my site globally. Is there a clean way to fix this, or should I just make sure I have the MathJaxes synched?

Was it helpful?

Solution

Setting this as follows should make it work without you having to pass any URL

writerHTMLMathMethod = MathJax ""
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top