remark
remark copied to clipboard
Inline code destroys slide logic
As soon as I use inline code on more than one slide, --- is no longer interpreted as a new slide but instead renders a <hr>
.
Minimal markdown example:
# Title
---
``Foo``
---
``Instead of on a new slide, this is rendered after a hr``
Expected result: Three slides: Title, and the two others with their respective content.
Actual result: Two slides: Title, and one slide with a horizontal line that seperates the other two "slides"
Removing either of these inline code tags will produce the expected result again.
I can reproduce this bug.
The issue is with code spans.
Test: codepen.io/tripu/pen/NweKYW
- The first code span uses single backticks, and works fine.
- The second code span is similar to what @YStrauch reported (
``Foo``
), and causes all subsequent pages to be joined together.
@YStrauch, while it's fixed, you can use single backticks (or triple, for that matter) instead.