diff options
author | Eric Bidelman | 2012-11-15 14:51:55 -0800 |
---|---|---|
committer | Eric Bidelman | 2012-11-15 14:51:55 -0800 |
commit | 95fbc0b6c349ef6a3633ef8b0d51ed46b6b70765 (patch) | |
tree | a5fba1900e6975cb88f94f2bf1a4d345338d0ed8 /scripts/md | |
parent | 9c6a2933f11a180505d5f33c772828ed13a0a742 (diff) | |
download | io-slides-remote-95fbc0b6c349ef6a3633ef8b0d51ed46b6b70765.tar.gz |
Adding <ol> build supporr
Diffstat (limited to 'scripts/md')
-rwxr-xr-x | scripts/md/render.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/md/render.py b/scripts/md/render.py index a05fb1a..a035b90 100755 --- a/scripts/md/render.py +++ b/scripts/md/render.py | |||
@@ -50,6 +50,7 @@ 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': | 51 | if metadata.get('build_lists') and metadata['build_lists'] == 'true': |
52 | html = html.replace('<ul>', '<ul class="build">') | 52 | html = html.replace('<ul>', '<ul class="build">') |
53 | html = html.replace('<ol>', '<ol class="build">') | ||
53 | return html | 54 | return html |
54 | 55 | ||
55 | if __name__ == '__main__': | 56 | if __name__ == '__main__': |