summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorJohn MacFarlane2017-11-29 21:53:10 -0800
committerJohn MacFarlane2017-11-29 21:57:29 -0800
commit773569b4a2668be34b9993f718766d77100968ef (patch)
tree097fec61fa12b2d936086024d1108ee37abfe7d6 /test
parenta0c013606e130baad976195730dcd7e7cd9e2855 (diff)
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 'test')
0 files changed, 0 insertions, 0 deletions