physics/reveal.html

56 lines
1.9 KiB
HTML
Raw Normal View History

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>
2024-06-21 17:25:06 -05:00
<link rel="icon" href="./favicon.svg" type="image/svg+xml">
2024-06-21 17:23:17 -05:00
2024-06-21 16:20:31 -05:00
<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">
2024-06-22 15:01:10 -05:00
<link rel="stylesheet" href="./reveal-override.css">
2024-06-21 16:20:31 -05:00
<!-- Theme used for syntax highlighted code -->
<link rel="stylesheet" href="./node_modules/reveal.js/plugin/highlight/monokai.css">
</head>
<body>
2024-06-21 20:11:48 -05:00
<script src="./draw.js"></script>
2024-06-21 16:20:31 -05:00
<div class="reveal">
<div class="slides">
2024-06-21 16:59:16 -05:00
<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>
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 20:11:48 -05:00
}).then(() => {
const nodes = document.querySelectorAll('code.drawing');
for (let node of nodes) {
Drawing.fromText(node);
}
});
</script>
2024-06-21 16:20:31 -05:00
</body>
</html>