Update comments about markdown slide separators

They might have been correct once upon a time, but apparently not since "---" became the default.
This commit is contained in:
Dave Abrahams 2021-09-09 16:49:19 -07:00 committed by GitHub
parent 647c04cffe
commit 6dd141811d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,8 +21,8 @@
<!-- Use external markdown resource, separate slides by three newlines; vertical slides by two newlines --> <!-- Use external markdown resource, separate slides by three newlines; vertical slides by two newlines -->
<section data-markdown="markdown.md" data-separator="^\n\n\n" data-separator-vertical="^\n\n"></section> <section data-markdown="markdown.md" data-separator="^\n\n\n" data-separator-vertical="^\n\n"></section>
<!-- Slides are separated by three dashes (quick 'n dirty regular expression) --> <!-- Slides are separated by three dashes (the default) -->
<section data-markdown data-separator="---"> <section data-markdown>
<script type="text/template"> <script type="text/template">
## Demo 1 ## Demo 1
Slide 1 Slide 1
@ -35,7 +35,7 @@
</script> </script>
</section> </section>
<!-- Slides are separated by newline + three dashes + newline, vertical slides identical but two dashes --> <!-- Slides are separated by regexp matching newline + three dashes + newline, vertical slides identical but two dashes -->
<section data-markdown data-separator="^\n---\n$" data-separator-vertical="^\n--\n$"> <section data-markdown data-separator="^\n---\n$" data-separator-vertical="^\n--\n$">
<script type="text/template"> <script type="text/template">
## Demo 2 ## Demo 2
@ -53,8 +53,8 @@
</script> </script>
</section> </section>
<!-- No "extra" slides, since there are no separators defined (so they'll become horizontal rulers) --> <!-- No "extra" slides, since the separator can't be matched ("---" will become horizontal rulers) -->
<section data-markdown> <section data-markdown data-separator="$x">
<script type="text/template"> <script type="text/template">
A A