返回 reveal.js
index.html
根目录 / index.html
1 <!DOCTYPE html>
2 <html lang="en">
3 <head>
4 <meta charset="utf-8" />
5 <meta
6 name="viewport"
7 content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"
8 />
9
10 <title>reveal.js</title>
11
12 <link rel="stylesheet" href="dist/reset.css" />
13 <link rel="stylesheet" href="dist/reveal.css" />
14 <link rel="stylesheet" href="dist/theme/black.css" />
15
16 <!-- Theme used for syntax highlighted code -->
17 <link rel="stylesheet" href="dist/plugin/highlight/monokai.css" />
18 </head>
19 <body>
20 <div class="reveal">
21 <div class="slides">
22 <section>Slide 1</section>
23 <section>Slide 2</section>
24 </div>
25 </div>
26
27 <script src="dist/reveal.js"></script>
28 <script src="dist/plugin/notes.js"></script>
29 <script src="dist/plugin/markdown.js"></script>
30 <script src="dist/plugin/highlight.js"></script>
31 <script>
32 // More info about initialization & config:
33 // - https://revealjs.com/initialization/
34 // - https://revealjs.com/config/
35 Reveal.initialize({
36 hash: true,
37
38 // Learn about plugins: https://revealjs.com/plugins/
39 plugins: [RevealMarkdown, RevealHighlight, RevealNotes],
40 });
41 </script>
42 </body>
43 </html>
43 lines HTML