Wrong ordering when uncovering list fragments using Markdown
See original GitHub issueVersions
- Manjaro Linux 5.5.0, 64 bit
- vscode-reveal 4.0.3
- Chrome 78
Example
Given the following example:
# Fragment Test
Some text before.
* A <!-- .element: class="fragment" -->
* B <!-- .element: class="fragment" -->
* C <!-- .element: class="fragment" -->
* D <!-- .element: class="fragment" -->
Some text after.
Expected Behavior
The unstructured list items are uncovered as A, B, C, D.
Actual Behavior
The unstructured list items are uncovered as D, A, B, C.
Observations
The generated HTML looks like this:
<ul class="fragment visible" data-fragment-index="0">
<li class="fragment visible" data-fragment-index="1">A </li>
<li class="fragment visible" data-fragment-index="2">B </li>
<li class="fragment visible current-fragment" data-fragment-index="3">C </li>
<li>D </li>
</ul>
This explains the wrong ordering, but I don’t know how to correct the Markdown text to get the desired result.
Maybe I’m just using the fragment notation in a wierd way. Thanks anyway.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Markdown processed incorrectly inside ...
In my Reveal.js presentations I have some math equations. I prefer to have my slides in external Markdown files. Now, in Reveal.js 3.6.0 ......
Read more >markdown display incorrect when add code block in list
In order to use the highlight Liquid tag here you need to ensure the result of Liquid processing is the appropriately indented markdown....
Read more >Pandoc User's Guide
Pandoc's enhanced version of Markdown includes syntax for tables, definition lists, metadata blocks, footnotes, citations, math, and much more.
Read more >Basic Syntax
You can organize items into ordered and unordered lists. Ordered Lists. To create an ordered list, add line items with numbers followed by...
Read more >Advanced R Markdown Word Format — rdocx_document ...
When the base_format used is bookdown::word_document2 , the number_sections parameter is automatically set to FALSE . Indeed, if you want numbered titles, you ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You can do this
Awesome - you rock!