From 417346068989d6b5bdca3620dcb95cbe4e7d8bbf Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Tue, 12 Jun 2018 09:35:27 -0700 Subject: reveal.js writer and template: reuse mathjax URL... ...provided by the argument to `--mathjax` or the normal pandoc default, rather than a hard-coded one in the template. Closes #4701. --- data/templates/default.revealjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'data') diff --git a/data/templates/default.revealjs b/data/templates/default.revealjs index 6f847e23a..68723efa6 100644 --- a/data/templates/default.revealjs +++ b/data/templates/default.revealjs @@ -237,7 +237,7 @@ $if(maxScale)$ $endif$ $if(mathjax)$ math: { - mathjax: 'https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js', + mathjax: '$mathjaxurl$', config: 'TeX-AMS_HTML-full', tex2jax: { inlineMath: [['\\(','\\)']], -- cgit v1.2.3