-
Notifications
You must be signed in to change notification settings - Fork 858
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
Inconsistent sub-slide behavior with nested bullet points #516
Comments
bump Hoping someone has a fix in the works for this. How do I start a bounty?
|
Here's another example where return inside blockquote creates issues similar to above:
|
@mschilli87 I'm not a programmer. I rely on the code creators to fix bugs. |
@utdrmac: I think 5 messages to > 200 people should be sufficient to point out a problem without offering a solution. The people working on this usually do so for free in their personal time after work. So I doubt that by 'bumping' this issue it is going to be solved sooner. |
I spent the better part of today researching more into this. I discovered that having 4 space indentation produces an incorrect result though I'm not sure why. For whatever reason, the nested bullet point line is having an additional carriage return appended to the end. This appended line then gets sent to Marked for rendering. According to the Commonmark spec, the extra carriage return will create a "loose" list which adds the p tags. Ok, fine but why is an additional return being added in the first place? There's no difference between the above line: "foo" and "foo1" Why is foo1 being treated differently? I found 1 possibility which is a regex match against the beginning 4 spaces which matches CODE in lexer.js. I tried modifying this regex to match against 5 spaces, but that did not change anything. |
As far as I know, indentations have meaning in markdown.
The
You should get the desired effect. |
Looks fixed, so I'm closing it and documented it in the wiki |
Consider the following RemarkJS/Markdown:
The above produces the desired effect: First show AAA, then "next slide" show BBB as a sub-bullet, then "next slide" show CCC at same sub-level as BBB.
But why does there have to be a blank link between
* AAA
and--
?Consider this:
In the above,
* ...BBB
is appended to the previous point so it looks like* AAA*...BBB
Now consider this (line return between each bullet)
In this, AAA shows fine. BBB shows fine. But when you navigate to slide 3, you see CCC but the spacing between AAA/BBB/CCC has completely changed. For some reason, in this case,
<p>
's are added to each<li>
. Why is that? This doesn't happen for just AAA and AAA/BBB. It only happens in case of 3+ subelements/subslides.The text was updated successfully, but these errors were encountered: