2024-06-21 16:20:31 -05:00
|
|
|
<!doctype html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
|
|
|
|
|
|
|
<title>Reveal.js Test</title>
|
|
|
|
|
|
|
|
<link rel="stylesheet" href="./node_modules/reveal.js/dist/reset.css">
|
|
|
|
<link rel="stylesheet" href="./node_modules/reveal.js/dist/reveal.css">
|
|
|
|
<link rel="stylesheet" href="./node_modules/reveal.js/dist/theme/white.css">
|
|
|
|
|
|
|
|
<!-- Theme used for syntax highlighted code -->
|
|
|
|
<link rel="stylesheet" href="./node_modules/reveal.js/plugin/highlight/monokai.css">
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div class="reveal">
|
|
|
|
<div class="slides">
|
2024-06-21 16:59:16 -05:00
|
|
|
<section>
|
|
|
|
<h2>Slide 1</h2>
|
|
|
|
<p>Content... `a = b / c`</p>
|
|
|
|
</section>
|
|
|
|
<section data-markdown>
|
|
|
|
<textarea data-template>
|
|
|
|
## Slide 2
|
|
|
|
- Item 1
|
|
|
|
- Item 2
|
|
|
|
<div id="d1"></div>
|
|
|
|
<script>
|
|
|
|
{
|
|
|
|
const d = new Drawing('d1');
|
|
|
|
d.setTitle('Test Drawing');
|
|
|
|
d.line([0, 0], [100, 100]);
|
|
|
|
d.render();
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
</textarea>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
<section data-markdown="test.md"></section>
|
2024-06-21 16:20:31 -05:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<script src="./node_modules/reveal.js/dist/reveal.js"></script>
|
|
|
|
<script src="./node_modules/reveal.js/plugin/notes/notes.js"></script>
|
|
|
|
<script src="./node_modules/reveal.js/plugin/markdown/markdown.js"></script>
|
|
|
|
<script src="./node_modules/reveal.js/plugin/highlight/highlight.js"></script>
|
2024-06-21 16:59:16 -05:00
|
|
|
<script src="./node_modules/reveal.js/plugin/math/math.js"></script>
|
|
|
|
<script src="./draw.js"></script>
|
2024-06-21 16:20:31 -05:00
|
|
|
<script>
|
|
|
|
// More info about initialization & config:
|
|
|
|
// - https://revealjs.com/initialization/
|
|
|
|
// - https://revealjs.com/config/
|
|
|
|
Reveal.initialize({
|
|
|
|
hash: true,
|
2024-06-21 16:59:16 -05:00
|
|
|
mathjax3: {
|
|
|
|
mathjax: './node_modules/mathjax/es5/startup.js',
|
|
|
|
loader: {
|
|
|
|
load: ['input/asciimath', 'output/chtml'],
|
|
|
|
},
|
|
|
|
},
|
2024-06-21 16:20:31 -05:00
|
|
|
// Learn about plugins: https://revealjs.com/plugins/
|
2024-06-21 16:59:16 -05:00
|
|
|
plugins: [ RevealMarkdown, RevealHighlight, RevealNotes, RevealMath.MathJax3 ]
|
2024-06-21 16:20:31 -05:00
|
|
|
});
|
|
|
|
</script>
|
|
|
|
</body>
|
|
|
|
</html>
|