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.
This commit is contained in:
John MacFarlane
2018-06-12 09:35:27 -07:00
parent 1e45bb0041
commit 4173460689
2 changed files with 7 additions and 6 deletions
+1 -1
View File
@@ -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: [['\\(','\\)']],