1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/reveal.js/5.0.2/reveal.min.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/reveal.js/5.0.2/plugin/highlight/zenburn.min.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/reveal.js/5.0.2/theme/serif.min.css" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/reveal.js/5.0.2/reveal.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/reveal.js/5.0.2/plugin/markdown/markdown.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/reveal.js/5.0.2/plugin/highlight/highlight.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/reveal.js/5.0.2/plugin/math/math.min.js"></script>
<script>
document.addEventListener('DOMContentLoaded', function () {
Reveal.initialize({
mathjax3: {
mathjax: 'https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js',
tex: {
inlineMath: [ [ '$', '$' ], [ '\\(', '\\)' ] ],
displayMath: [ ["$$", "$$"], ["\\[", "\\]"], ],
processEscapes: true,
processEnvironments: true,
},
options: {
enableExplorer: false,
skipHtmlTags: [ 'script', 'noscript', 'style', 'textarea', 'pre' ]
},
},
transition: 'fade',
progress: true,
embedded: true,
minScale: 0.2,
plugins: [ RevealMarkdown, RevealHighlight, RevealMath.MathJax3 ]
});
});
</script>
|