insert mathjax config before loading also for MathJax v2

This commit is contained in:
Tor Erlend Fjelde 2023-05-28 11:26:18 +01:00
parent 631a936077
commit 36d9449a82
1 changed files with 1 additions and 2 deletions

View File

@ -834,8 +834,7 @@ The precedence is as follows:
((= mathjax-major-version 3)
(concat (org-reveal--mathjax3-make-config-script mathjax-config) "\n" load-script))
((= mathjax-major-version 2)
;; Here we put the MathJax config after the load-script.
(concat load-script "\n" (org-reveal--mathjax2-make-config-script mathjax-config))))
(concat (org-reveal--mathjax2-make-config-script mathjax-config) "\n" load-script)))
;; No MathJax config file specified
load-script
))))