Mathjax in HTML slide shows: include explicit "Typeset" instruction.
This seems to be needed for some formats (e.g. slideous) and won't hurt in others. Closes #966.
This commit is contained in:
parent
8e61a6214f
commit
8b0052ba5b
1 changed files with 2 additions and 1 deletions
|
@ -143,7 +143,8 @@ pandocToHtml opts (Pandoc meta blocks) = do
|
|||
MathJax url ->
|
||||
H.script ! A.src (toValue url)
|
||||
! A.type_ "text/javascript"
|
||||
$ mempty
|
||||
$ preEscapedString
|
||||
"MathJax.Hub.Queue([\"Typeset\",MathJax.Hub]);"
|
||||
JsMath (Just url) ->
|
||||
H.script ! A.src (toValue url)
|
||||
! A.type_ "text/javascript"
|
||||
|
|
Loading…
Add table
Reference in a new issue