aboutsummaryrefslogtreecommitdiff
path: root/scripts/md/render.py
diff options
context:
space:
mode:
authorEric Bidelman2012-10-20 16:49:12 +0900
committerEric Bidelman2012-10-20 16:49:12 +0900
commitffcabeca9409e0445dc0867e913f6601a170a600 (patch)
tree3f2c5919f24a70987aad3a80d73ce0ee2f6eb7a9 /scripts/md/render.py
parent1e5ccd449dfd0416a3c75a3941d5b9444001fd2a (diff)
downloadio-slides-remote-ffcabeca9409e0445dc0867e913f6601a170a600.tar.gz
Build list support
Diffstat (limited to 'scripts/md/render.py')
-rwxr-xr-xscripts/md/render.py3
1 files changed, 3 insertions, 0 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__':