mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-20 22:46:06 +00:00
@@ -638,7 +638,7 @@ inlineToHtml opts inline =
|
|||||||
Left _ -> inlineListToHtml opts
|
Left _ -> inlineListToHtml opts
|
||||||
(readTeXMath str) >>= return .
|
(readTeXMath str) >>= return .
|
||||||
(H.span ! A.class_ "math")
|
(H.span ! A.class_ "math")
|
||||||
MathJax _ -> return $ toHtml $
|
MathJax _ -> return $ H.span ! A.class_ "math" $ toHtml $
|
||||||
case t of
|
case t of
|
||||||
InlineMath -> "\\(" ++ str ++ "\\)"
|
InlineMath -> "\\(" ++ str ++ "\\)"
|
||||||
DisplayMath -> "\\[" ++ str ++ "\\]"
|
DisplayMath -> "\\[" ++ str ++ "\\]"
|
||||||
|
|||||||
Reference in New Issue
Block a user