From ed4bdd059cc6c4b8045b2c4c2c0f8b44d3faa3d6 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Tue, 29 Nov 2022 17:07:03 -0800 Subject: 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. --- src/Text/Pandoc/Writers/HTML.hs | 1 + 1 file changed, 1 insertion(+) 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" -- cgit v1.2.3