From ffcabeca9409e0445dc0867e913f6601a170a600 Mon Sep 17 00:00:00 2001 From: Eric Bidelman Date: Sat, 20 Oct 2012 16:49:12 +0900 Subject: Build list support --- scripts/md/render.py | 3 +++ scripts/md/slides.md | 9 ++++++++- 2 files changed, 11 insertions(+), 1 deletion(-) (limited to 'scripts/md') 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): def postprocess_html(html, metadata): """Returns processed HTML to fit into the slide template format.""" + if metadata.get('build_lists') and metadata['build_lists'] == 'true': + html = html.replace('