mirror of
https://github.com/hakimel/reveal.js.git
synced 2025-08-29 09:19:57 +02:00
switch from gulp to vite to build, add types for reveal.js config
This commit is contained in:
28
index.html
28
index.html
@@ -6,9 +6,9 @@
|
||||
|
||||
<title>reveal.js</title>
|
||||
|
||||
<link rel="stylesheet" href="dist/reset.css">
|
||||
<link rel="stylesheet" href="dist/reveal.css">
|
||||
<link rel="stylesheet" href="dist/theme/black.css">
|
||||
<link rel="stylesheet" href="css/reset.css">
|
||||
<link rel="stylesheet" href="css/reveal.scss">
|
||||
<link rel="stylesheet" href="css/theme/black.scss">
|
||||
|
||||
<!-- Theme used for syntax highlighted code -->
|
||||
<link rel="stylesheet" href="plugin/highlight/monokai.css">
|
||||
@@ -18,14 +18,26 @@
|
||||
<div class="slides">
|
||||
<section>Slide 1</section>
|
||||
<section>Slide 2</section>
|
||||
<section data-markdown>
|
||||
<script type="text/template">
|
||||
## Markdown Support
|
||||
|
||||
```html []
|
||||
<section data-markdown>
|
||||
## Markdown Support
|
||||
</section>
|
||||
```
|
||||
</script>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script src="dist/reveal.js"></script>
|
||||
<script src="plugin/notes/notes.js"></script>
|
||||
<script src="plugin/markdown/markdown.js"></script>
|
||||
<script src="plugin/highlight/highlight.js"></script>
|
||||
<script>
|
||||
<script type="module">
|
||||
import Reveal from 'reveal.js';
|
||||
import RevealNotes from 'reveal.js/plugin/notes';
|
||||
import RevealMarkdown from 'reveal.js/plugin/markdown';
|
||||
import RevealHighlight from 'reveal.js/plugin/highlight';
|
||||
|
||||
// More info about initialization & config:
|
||||
// - https://revealjs.com/initialization/
|
||||
// - https://revealjs.com/config/
|
||||
|
Reference in New Issue
Block a user