diff options
author | Lars Kappert | 2013-01-29 23:59:57 +0100 |
---|---|---|
committer | Lars Kappert | 2013-01-29 23:59:57 +0100 |
commit | 5dd63e4919b58bde83591590bacf37a1f091fa2a (patch) | |
tree | 7dede1e236e021878662852c69e67704109e6d63 | |
parent | 25f3884bf4deb315aaf9a5236ec1c05f85e3ff42 (diff) |
More/better examples in markdown demo
-rw-r--r-- | index-markdown.html | 27 |
1 files changed, 19 insertions, 8 deletions
diff --git a/index-markdown.html b/index-markdown.html index f46575b..367c879 100644 --- a/index-markdown.html +++ b/index-markdown.html @@ -38,33 +38,44 @@ <!-- Use external markdown resource, and separate slides by three newlines; vertical slides by two newlines --> <section data-markdown="demo.md" data-separator="^\n\n\n" data-vertical="^\n\n"></section> - <!-- Slides are separated by newline + three dashes + newline (regular expression) --> + <!-- Slides are separated by three dashes (quick 'n dirty regular expression) --> + <section data-markdown data-separator="---"> + <script type="text/template"> + Slide 1 + --- + Slide 2 + --- + Slide 3 + </script> + </section> + + <!-- Slides are separated by newline + three dashes + newline, vertical slides identical but two dashes --> <section data-markdown data-separator="^\n---\n$" data-vertical="^\n--\n$"> <script type="text/template"> - 1.1 + Slide 1.1 -- - 4.1 + Slide 1.2 --- - 5.1 + Slide 2 </script> </section> - <!-- No "extra" slides, since there are no separators defined --> + <!-- No "extra" slides, since there are no separators defined (so they'll become horizontal rulers) --> <section data-markdown> <script type="text/template"> - 1.1 + A --- - 4.1 + B --- - 5.1 + C </script> </section> |