-
-
Notifications
You must be signed in to change notification settings - Fork 16.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
markdown plugin: data-separator does not seem to have a default value. Should it have one? #2832
Comments
In other words it dosen't recognize the |
There is no error msg. The '/r/n---/r/n_ string is just not
interpreted as slide separator, but simply according to MD syntax as
horizontal rule.
(Sorry, my current keyboard does not allow backslashes.)
By contrast, when I define data-separator in the section element
enclosing the MD part
`<section data-markdown data-separator='/r?/n---/r?/n'>`,
multiple slides are generated as expected. Based on the docs quoted
above, I would just expect this behavior without defining
data-separator regex.
The behavior I observe is correctly described in
examples/markdown.html at line 56 et seq, but not in the docs.
I work with a current clone of the master branch, probably at v4.1.0.
…On 06/11/2020, L0ganW ***@***.***> wrote:
In other words it dosen't recognize the
Input so it spits an error.
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
#2832 (comment)
|
I think #2850 is related to this. |
Thanks for reporting. I just pushed a fix for this in #2850 (comment) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
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:
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).
The text was updated successfully, but these errors were encountered: