-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmkslides.yml
76 lines (66 loc) · 1.98 KB
/
mkslides.yml
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
index:
title: Aaron's Slides
slides:
theme: sky
highlight_theme: monokai-sublime
separator: ^\s*<!--h-->\s*$
separator_vertical: ^\s*<!--v-->\s*$
separator_notes: "^Notes?:"
charset: utf-8
preprocess_script: preproc.py # Auto-generate slides based on headings, no more need to manually add separators.
revealjs:
width: 1280
height: 800
transition: slide
navigationMode: linear # default、linear、grid
slideNumber: c/t # true、false、h.v、h/v、c、c/t
showSlideNumber: speaker # all、print、speaker
pdfSeparateFragments: false
# Setting up tags to ignore for katex typesetting math formulas
katex:
ignoredTags:
- script
- noscript
- style
- textarea
- pre
- code
# Configuring of the mermaid
mermaid: # https://mermaid.nodejs.cn/config/theming.html
theme: forest # default forest base dark neutral
themeVariables:
primaryColor: '#43464A'
primaryTextColor: '#E3DB82'
lineColor: '#F2AA3B'
# Configuring of the menu
menu:
titleSelector: 'h1, h2, h3'
hideMissingTitles: true
openButton: true
openSlideNumber: true
# side: right
# numbers: true
# Configuring of the toolbar
toolbar:
position: bottom
overview: true # https://github.com/denehyg/reveal.js-toolbar/issues/8#issuecomment-546949621
pause: true
notes: false # There are bugs.
help: true
captureMenu: true # https://github.com/denehyg/reveal.js-toolbar/issues/14#issuecomment-1219963857
fullscreen: true
capturePlaybackControl: false
loadIcons: true
# The plugin of toolbar
dependencies:
- src: ../plugin/reveal.js-toolbar/toolbar.js
plugins:
- name: RevealMermaid
extra_javascript:
- ../plugin/reveal.js-mermaid-plugin/plugin/mermaid/mermaid.js
- name: RevealMenu
extra_javascript:
- ../plugin/reveal.js-menu/menu.js
- name: RevealPlantUML
extra_javascript:
- ../plugin/revealjs-plantuml/dist/plantuml.js