diff options
author | John MacFarlane <jgm@berkeley.edu> | 2017-11-29 21:53:10 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2017-11-29 21:57:29 -0800 |
commit | 773569b4a2668be34b9993f718766d77100968ef (patch) | |
tree | 097fec61fa12b2d936086024d1108ee37abfe7d6 /plugin/print-pdf | |
parent | a0c013606e130baad976195730dcd7e7cd9e2855 (diff) | |
download | perl-software-in-gnu-guix-773569b4a2668be34b9993f718766d77100968ef.tar perl-software-in-gnu-guix-773569b4a2668be34b9993f718766d77100968ef.tar.gz |
Allow tex2jax options to be passed into math plugin.
Closes #2026.
This does not change the default behavior of the math plugin,
but it allows $ delimiters to be disabled (which is usually
what you want, since otherwise normal uses of $ for currency get
treated as math delimiters).
To use:
Reveal.initialize({
math: {
tex2jax: { inlineMath: [['\\(','\\)']],
skipTags: ['script','noscript','style',
'textarea','pre'] }
},
etc.
});
Diffstat (limited to 'plugin/print-pdf')
0 files changed, 0 insertions, 0 deletions