|
@@ -1,66 +0,0 @@
|
|
-<!doctype html>
|
|
|
|
-<html lang="en">
|
|
|
|
-
|
|
|
|
- <head>
|
|
|
|
- <meta charset="utf-8">
|
|
|
|
-
|
|
|
|
- <title>reveal.js - Multiple Instances</title>
|
|
|
|
-
|
|
|
|
- <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
|
|
|
-
|
|
|
|
- <link rel="stylesheet" href="../../dist/reveal.css">
|
|
|
|
- <link rel="stylesheet" href="../../dist/theme/white.css" id="theme">
|
|
|
|
- </head>
|
|
|
|
-
|
|
|
|
- <body style="background: #ddd;">
|
|
|
|
-
|
|
|
|
- <div style="display: flex; flex-direction: row;">
|
|
|
|
- <div class="reveal deck1" style="width: 100%; height: 50vh; margin: 10px;">
|
|
|
|
- <div class="slides">
|
|
|
|
- <section data-markdown>
|
|
|
|
- <script type="text/template">
|
|
|
|
- ## Slide attributes
|
|
|
|
- </script>
|
|
|
|
- </section>
|
|
|
|
- <section>1.2</section>
|
|
|
|
- <section>1.3</section>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
-
|
|
|
|
- <div class="reveal deck2" style="width: 100%; height: 50vh; margin: 10px;">
|
|
|
|
- <div class="slides">
|
|
|
|
- <section data-markdown>
|
|
|
|
- <script type="text/template">
|
|
|
|
- ## Slide attributes
|
|
|
|
- </script>
|
|
|
|
- </section>
|
|
|
|
- <section>2.2</section>
|
|
|
|
- <section>2.3</section>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
-
|
|
|
|
- <script type="module">
|
|
|
|
-
|
|
|
|
- import Reveal from '../../js/reveal.js';
|
|
|
|
- import Markdown from '../../plugin/markdown/markdown.js';
|
|
|
|
-
|
|
|
|
- let r1 = new Reveal( document.querySelector( '.deck1' ), {
|
|
|
|
- embedded: true,
|
|
|
|
- keyboard: false
|
|
|
|
- } );
|
|
|
|
- r1.initialize().then( () => {
|
|
|
|
-
|
|
|
|
- let r2 = new Reveal( document.querySelector( '.deck2' ), {
|
|
|
|
- embedded: true,
|
|
|
|
- keyboard: false,
|
|
|
|
- dependencies: [ Markdown ]
|
|
|
|
- } );
|
|
|
|
- r2.initialize();
|
|
|
|
-
|
|
|
|
- } );
|
|
|
|
-
|
|
|
|
- </script>
|
|
|
|
-
|
|
|
|
- </body>
|
|
|
|
-</html>
|
|
|