config option to enable/disable mathjax
This commit is contained in:
parent
efd7939690
commit
f1a6b2d4a6
|
@ -51,8 +51,10 @@
|
|||
{ src: '../_assets/reveal.js/plugin/zoom-js/zoom.js', async: true },
|
||||
// Speaker notes
|
||||
{ src: '../_assets/reveal.js/plugin/notes/notes.js', async: true },
|
||||
{% if mathjax -%}
|
||||
// LaTeX rendering
|
||||
{ src: '../_assets/reveal.js/plugin/math/math.js', async: true }
|
||||
{%- endif %}
|
||||
]
|
||||
});
|
||||
</script>
|
||||
|
|
|
@ -31,6 +31,7 @@ files.extend(sorted(filter(lambda x: os.path.isfile(os.path.join(directory, x))
|
|||
|
||||
config = {
|
||||
'theme': '../_assets/reveal.js/css/theme/black.css',
|
||||
'mathjax': False,
|
||||
'controls': True,
|
||||
'progress': True,
|
||||
'history': True,
|
||||
|
|
Reference in a new issue