aboutsummaryrefslogtreecommitdiff
path: root/scripts/md
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/md')
-rwxr-xr-xscripts/md/render.py3
-rw-r--r--scripts/md/slides.md9
2 files changed, 11 insertions, 1 deletions
diff --git a/scripts/md/render.py b/scripts/md/render.py
index edc667d..08a926f 100755
--- a/scripts/md/render.py
+++ b/scripts/md/render.py
@@ -48,6 +48,9 @@ def parse_metadata(section):
48 48
49def postprocess_html(html, metadata): 49def postprocess_html(html, metadata):
50 """Returns processed HTML to fit into the slide template format.""" 50 """Returns processed HTML to fit into the slide template format."""
51 if metadata.get('build_lists') and metadata['build_lists'] == 'true':
52 html = html.replace('<ul>', '<ul class="build">')
53 print html
51 return html 54 return html
52 55
53if __name__ == '__main__': 56if __name__ == '__main__':
diff --git a/scripts/md/slides.md b/scripts/md/slides.md
index 8dd4d30..f8155ac 100644
--- a/scripts/md/slides.md
+++ b/scripts/md/slides.md
@@ -14,8 +14,9 @@ class: segue dark nobackground
14 14
15title: Agenda 15title: Agenda
16class: big 16class: big
17build_lists: true
17 18
18Things we'll cover: 19Things we'll cover (list should build):
19 20
20- Bullet1 21- Bullet1
21- Bullet2 22- Bullet2
@@ -69,3 +70,9 @@ function detectFormFactor() {
69} 70}
70</pre> 71</pre>
71 72
73---
74
75title: Centered content
76content_class: flexbox vcenter
77
78This content should be centered!