-
Notifications
You must be signed in to change notification settings - Fork 0
/
template.pug
48 lines (47 loc) · 1.3 KB
/
template.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
doctype html
html(lang="en")
head
title= pageTitle
style.
@import url('https://fonts.googleapis.com/css?family=Open+Sans|Source+Code+Pro&display=swap');
html {
font-size: 10px;
}
body { font-family: 'Open Sans'; }
h1, h2, h3 {
font-family: 'Open Sans';
font-weight: normal;
}
.remark-slide-content {
color: #FFF;
background-color: #171717;
font-size: 2.7rem;
}
.remark-code-span-highlighted {
background-color: #495901;
}
.remark-code-line-highlighted {
background-color: #495901;
}
.remark-code, .remark-inline-code {
font-size: 2.7rem;
font-family: 'Source Code Pro';
}
.important-slide { color: #FFE082; }
.important-text { color: #F78C6A; }
body
textarea#source
|#{markdown}
script(src='../vendor/remark-latest.min.js')
script.
remark.macros.scale = function (percentage) {
var url = this;
return '<img src="' + url + '" style="width: ' + percentage + '" />';
};
var slideshow = remark.create({
ratio: '16:9',
slideNumberFormat: '%current%',
highlightStyle: 'atom-one-dark',
highlightLines: true,
highlightSpans: true
});