-
-
Notifications
You must be signed in to change notification settings - Fork 16.8k
Description
Hi,
I am new to this excellent framework and stumbled upon what I consider a bug either in the markdown plugin or the docs or both.
The
docs state the following:
... in the external file: the data-separator attribute defines a regular expression for horizontal slides (defaults
to ^\r?\n---\r?\n$, ...
However, the code example for internal markdown, which does not define data-separator (thus allegedly relying on its default value) places all the text on the same slide.
Likewise, the examples/markdown.html file suggests that there is no default value for data-separator:
<!-- No "extra" slides, since there are no separators defined (so they'll become horizontal rulers) -->
<section data-markdown>
<script type="text/template">
A
---
B
---
C
</script>
</section>
Moreover, if there was a default value defined in the plugin, it should apply to internal MD as well, in which case the docs should make this clear (currently, they suggest that data-separator only influences the parsing of external MD).