aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2022-11-29 17:07:03 -0800
committerJohn MacFarlane <[email protected]>2022-11-29 17:07:03 -0800
commited4bdd059cc6c4b8045b2c4c2c0f8b44d3faa3d6 (patch)
tree43054397516a9803b6be87341db35883c06930d9
parent513bdef40b556dfca61be2681088b3b74b86e86b (diff)
HTML writer: Add prooftree to list of math environments.
This will cause raw LaTeX prooftree environments to be rendered appropriately when `--mathjax` is used. Closes #8462.
-rw-r--r--src/Text/Pandoc/Writers/HTML.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Writers/HTML.hs b/src/Text/Pandoc/Writers/HTML.hs
index 019660dce..99664897e 100644
--- a/src/Text/Pandoc/Writers/HTML.hs
+++ b/src/Text/Pandoc/Writers/HTML.hs
@@ -1682,6 +1682,7 @@ isMathEnvironment s = "\\begin{" `T.isPrefixOf` s &&
, "multline"
, "multline*"
, "pmatrix"
+ , "prooftree" -- bussproofs
, "smallmatrix"
, "split"
, "subarray"