HTML writer: pass through inline math environments with KaTeX.
This commit is contained in:
parent
d6dbbb89d0
commit
7ab2f4a61d
1 changed files with 1 additions and 0 deletions
|
@ -1636,6 +1636,7 @@ isMathEnvironment s = "\\begin{" `T.isPrefixOf` s &&
|
||||||
|
|
||||||
allowsMathEnvironments :: HTMLMathMethod -> Bool
|
allowsMathEnvironments :: HTMLMathMethod -> Bool
|
||||||
allowsMathEnvironments (MathJax _) = True
|
allowsMathEnvironments (MathJax _) = True
|
||||||
|
allowsMathEnvironments (KaTeX _) = True
|
||||||
allowsMathEnvironments MathML = True
|
allowsMathEnvironments MathML = True
|
||||||
allowsMathEnvironments (WebTeX _) = True
|
allowsMathEnvironments (WebTeX _) = True
|
||||||
allowsMathEnvironments _ = False
|
allowsMathEnvironments _ = False
|
||||||
|
|
Loading…
Add table
Reference in a new issue