forked from blu3r4y/python-for-java-developers
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.js
More file actions
25 lines (22 loc) · 606 Bytes
/
main.js
File metadata and controls
25 lines (22 loc) · 606 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import Reveal from "reveal.js";
import RevealMarkdown from "reveal.js/plugin/markdown/markdown.esm.js";
import RevealHighlight from "reveal.js/plugin/highlight/highlight.esm.js";
import "reveal.js/dist/reveal.css";
import "reveal.js/dist/theme/simple.css";
import "highlight.js/styles/github-dark.css";
import "./style.css";
let deck = new Reveal({
plugins: [RevealMarkdown, RevealHighlight],
});
deck.initialize({
width: 960,
height: 720,
center: false,
hash: true,
slideNumber: true,
showSlideNumber: "print",
pdfSeparateFragments: false,
markdown: {
smartypants: true,
},
});