diff --git a/chapters.py b/chapters.py
index 04cded5..f02f27e 100644
--- a/chapters.py
+++ b/chapters.py
@@ -53,7 +53,10 @@ def compile_chapter(chapter, no_cache):
slides = [delimiter + slide for slide in chapter_input][1:]
chapter_content = ''
for slide in slides:
- chapter_content += '\n' + slides_helper.compile_slide(slide, root) + '\n\n'
+ chapter_content +=\
+ '\n' +\
+ slides_helper.compile_slide(slide, root) + '\n' +\
+ '\n'
cache.store_cached_chapter(root, lang, chapter, chapter_content)
- return chapter_content
\ No newline at end of file
+ return chapter_content
diff --git a/slides.py b/slides.py
index 521d830..225ec13 100644
--- a/slides.py
+++ b/slides.py
@@ -14,6 +14,9 @@ def compile_slide(slide, root_directory):
slide_metadata = get_slide_metadata(slide)
slide_data = get_slide_data(slide)
slide = get_slide_layout(slide_metadata['layout'])
+ if 'todo' in slide_data.keys():
+ # TODO: Move the css into a global onpoint.css file
+ slide = '' + slide
for key, value in slide_data.items():
placeholder = '@' + key
filler = convert_slide_content(value)
@@ -65,4 +68,4 @@ def convert_slide_content(content):
content, 'html',
format='md',
extra_args=pdoc_args,
- filters=filters)
\ No newline at end of file
+ filters=filters)
diff --git a/test/slides/chapter1.de.md b/test/slides/chapter1.de.md
index ba4700e..eee2a9c 100644
--- a/test/slides/chapter1.de.md
+++ b/test/slides/chapter1.de.md
@@ -14,3 +14,17 @@ Wirklich auf den Punkt!
* ++ Stichpunkt 3
* ++ Stichpunkt 4
+
+@slide
+
+@title
+Folie mit Todo
+
+@todo
+Das ist das Todo.
+
+* Stichpunkt
+
+@content
+Diese Folie ist noch nicht fertig.
+
diff --git a/test/slides/chapter1.en.md b/test/slides/chapter1.en.md
index 42c5f87..c5c94ad 100644
--- a/test/slides/chapter1.en.md
+++ b/test/slides/chapter1.en.md
@@ -13,3 +13,18 @@ OnPoint for real!
* bullet point 2
* bullet point 3
* bullet point 4
+
+
+@slide
+
+@title
+Slide with todo
+
+@todo
+This is the todo.
+
+* bullet point
+
+@content
+This slide is not done yet.
+