Domanda

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?

È stato utile?

Soluzione

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

writerHTMLMathMethod = MathJax ""
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top