add MathJax
This commit is contained in:
parent
f8f7cc347b
commit
532ee57cb6
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -7,3 +7,6 @@
|
|||
[submodule "revealjs/_assets/reveal.js"]
|
||||
path = revealjs/_assets/reveal.js
|
||||
url = https://github.com/hakimel/reveal.js
|
||||
[submodule "revealjs/_assets/MathJax"]
|
||||
path = revealjs/_assets/MathJax
|
||||
url = https://github.com/mathjax/MathJax
|
||||
|
|
1
revealjs/_assets/MathJax
Submodule
1
revealjs/_assets/MathJax
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 419b0a6eee7eefc0f85e47f7d4f8227ec28b8e57
|
|
@ -38,6 +38,11 @@
|
|||
|
||||
transition: '{{ transition }}',
|
||||
|
||||
math: {
|
||||
mathjax: '../_assets/MathJax/unpacked/MathJax.js',
|
||||
config: 'TeX-AMS_HTML-full'
|
||||
},
|
||||
|
||||
dependencies: [
|
||||
// Syntax highlight for <code> elements
|
||||
{ src: '../_assets/reveal.js/plugin/highlight/highlight.js', async: true, callback: () => hljs.initHighlightingOnLoad() },
|
||||
|
@ -45,6 +50,8 @@
|
|||
{ src: '../_assets/reveal.js/plugin/zoom-js/zoom.js', async: true },
|
||||
// Speaker notes
|
||||
{ src: '../_assets/reveal.js/plugin/notes/notes.js', async: true },
|
||||
// LaTeX rendering
|
||||
{ src: '../_assets/reveal.js/plugin/math/math.js', async: true }
|
||||
]
|
||||
});
|
||||
</script>
|
||||
|
|
Reference in a new issue