aboutsummaryrefslogtreecommitdiff
path: root/data/templates
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2018-06-12 09:35:27 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2018-06-12 09:35:27 -0700
commit417346068989d6b5bdca3620dcb95cbe4e7d8bbf (patch)
tree217a9a1d9cee5003fa56d46f90d8110d7862303b /data/templates
parent1e45bb0041a184a6ae02549c4deb4a9cdf26ecb3 (diff)
downloadpandoc-417346068989d6b5bdca3620dcb95cbe4e7d8bbf.tar.gz
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.
Diffstat (limited to 'data/templates')
-rw-r--r--data/templates/default.revealjs2
1 files changed, 1 insertions, 1 deletions
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: [['\\(','\\)']],