-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.pug
52 lines (52 loc) · 2.23 KB
/
index.pug
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
doctype html
html(nighteye="disabled")
head
meta(charset="utf8")
script(src="node_modules/reveal.js/dist/reveal.js")
script(src="node_modules/reveal.js/plugin/math/math.js")
//-script(src="node_modules/reveal.js/plugin/markdown/markdown.js")
script(src="node_modules/reveal.js-plugins/chalkboard/plugin.js")
script(src="node_modules/@svgdotjs/svg.js/dist/svg.min.js")
script(src="node_modules/svgtiler/lib/svgtiler.js")
//- Include external additional scripts etc. here
//-script(src="filename.js")
link(rel="stylesheet", href="node_modules/reveal.js/dist/reveal.css")
link(rel="stylesheet", href="node_modules/reveal.js/dist/theme/black.css")
link(rel="stylesheet", href="node_modules/reveal.js-plugins/chalkboard/style.css")
link(rel="stylesheet", href="node_modules/reveal.js-plugins/menu/font-awesome/css/all.css")
link(rel="stylesheet", href="node_modules/@fontsource/merriweather/latin-400.css")
link(rel="stylesheet", href="node_modules/@fontsource/merriweather/latin-400-italic.css")
link(rel="stylesheet", href="node_modules/@fontsource/merriweather/latin-900.css")
link(rel="stylesheet", href="node_modules/@fontsource/merriweather/latin-900-italic.css")
//- Nonlocal version:
link(rel="preconnect" href="https://fonts.gstatic.com")
link(href="https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,400;0,900;1,400;1,900&display=swap", rel="stylesheet")
style
include:stylus index.styl
body
.reveal
.slides
include slides.pug
script
:coffee-script
Reveal.initialize
center: false
slideNumber: true
hash: true
transition: 'none'
width: 1100
height: 768
minScale: 0.1
maxScale: 10
plugins: [
RevealMath.KaTeX
RevealChalkboard
]
katex: local: 'node_modules/katex'
chalkboard:
background: ['none', 'node_modules/reveal.js-plugins/chalkboard/img/blackboard.png']
boardmarkerWidth: 7
colorButtons: true
theme: 'whiteboard'
//- Inline additional scripts etc. here. Currently CoffeeScript 1 only.
//- include:coffee-script index.coffee