summaryrefslogtreecommitdiff
path: root/pandoc.cabal
diff options
context:
space:
mode:
authorKolen Cheung <ickc@users.noreply.github.com>2022-01-13 20:31:32 -0800
committerGitHub <noreply@github.com>2022-01-13 20:31:32 -0800
commited2ab2e2b0eada8e4c4728f23adf96d55eba8172 (patch)
tree182c66e8ee08dc8cb8ef25a1ce758ed921ac7d35 /pandoc.cabal
parent0d1ba3dce33b8d5d30d7cf8febfa8ea3060b5dfd (diff)
HTML template: load header-includes before math (#7833)
MathJax expect the config comes before loading the MathJax script. This change of order allows one to config MathJax via header-includes, which loads before the MathJax script. This potentially is a breaking change. However, the only kind math supported by pandoc that is configurable seems to be katex, and according to src/Text/Pandoc/Writers/HTML.hs the way it is configured is hard-coded (katex doesn't seem to offer MathJax style config that is independent of loading katex.) So it seems it is safe to change this order without breaking others' documents. c.f. #2750
Diffstat (limited to 'pandoc.cabal')
0 files changed, 0 insertions, 0 deletions