mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-24 15:44:59 +08:00
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:
@@ -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: [['\\(','\\)']],
|
||||
|
||||
Reference in New Issue
Block a user