2020-04-06 11:22:54 +02:00
|
|
|
<!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>
|
|
|
|
|
2020-04-06 13:49:39 +02:00
|
|
|
<body style="background: #ddd;">
|
2020-04-06 11:22:54 +02:00
|
|
|
|
|
|
|
<div style="display: flex; flex-direction: row;">
|
2020-04-06 13:49:39 +02:00
|
|
|
<div class="reveal deck1" style="width: 100%; height: 50vh; margin: 10px;">
|
|
|
|
<div class="slides">
|
2020-04-15 10:23:51 +02:00
|
|
|
<section data-markdown>
|
|
|
|
<script type="text/template">
|
|
|
|
## Slide attributes
|
|
|
|
</script>
|
|
|
|
</section>
|
2020-04-06 13:49:39 +02:00
|
|
|
<section>1.2</section>
|
|
|
|
<section>1.3</section>
|
2020-04-06 11:22:54 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2020-04-06 13:49:39 +02:00
|
|
|
<div class="reveal deck2" style="width: 100%; height: 50vh; margin: 10px;">
|
|
|
|
<div class="slides">
|
2020-04-15 10:23:51 +02:00
|
|
|
<section data-markdown>
|
|
|
|
<script type="text/template">
|
|
|
|
## Slide attributes
|
|
|
|
</script>
|
|
|
|
</section>
|
2020-04-06 13:49:39 +02:00
|
|
|
<section>2.2</section>
|
|
|
|
<section>2.3</section>
|
2020-04-06 11:22:54 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2020-04-15 10:23:51 +02:00
|
|
|
<script type="module">
|
|
|
|
|
2020-04-16 15:45:25 +02:00
|
|
|
import Reveal from '../../js/reveal.js';
|
2020-04-15 10:23:51 +02:00
|
|
|
import Markdown from '../../plugin/markdown/markdown.js';
|
2020-04-06 11:22:54 +02:00
|
|
|
|
2020-04-06 13:49:39 +02:00
|
|
|
let r1 = new Reveal( document.querySelector( '.deck1' ), {
|
2020-04-07 09:05:56 +02:00
|
|
|
embedded: true,
|
|
|
|
keyboard: false
|
2020-04-06 13:49:39 +02:00
|
|
|
} );
|
2020-04-15 10:23:51 +02:00
|
|
|
r1.initialize().then( () => {
|
|
|
|
|
|
|
|
let r2 = new Reveal( document.querySelector( '.deck2' ), {
|
|
|
|
embedded: true,
|
|
|
|
keyboard: false,
|
2020-04-16 15:45:25 +02:00
|
|
|
dependencies: [ Markdown ]
|
2020-04-15 10:23:51 +02:00
|
|
|
} );
|
|
|
|
r2.initialize();
|
2020-04-06 11:22:54 +02:00
|
|
|
|
2020-04-06 13:49:39 +02:00
|
|
|
} );
|
2020-04-06 11:22:54 +02:00
|
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|