diff options
author | Eric Bidelman | 2012-10-20 16:49:12 +0900 |
---|---|---|
committer | Eric Bidelman | 2012-10-20 16:49:12 +0900 |
commit | ffcabeca9409e0445dc0867e913f6601a170a600 (patch) | |
tree | 3f2c5919f24a70987aad3a80d73ce0ee2f6eb7a9 /scripts/md/render.py | |
parent | 1e5ccd449dfd0416a3c75a3941d5b9444001fd2a (diff) | |
download | io-slides-remote-ffcabeca9409e0445dc0867e913f6601a170a600.tar.gz |
Build list support
Diffstat (limited to 'scripts/md/render.py')
-rwxr-xr-x | scripts/md/render.py | 3 |
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 | ||
49 | def postprocess_html(html, metadata): | 49 | def 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 | ||
53 | if __name__ == '__main__': | 56 | if __name__ == '__main__': |