문제

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?

도움이 되었습니까?

해결책

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

writerHTMLMathMethod = MathJax ""
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top