MSzturc / obsidian-advanced-slides

Create markdown-based reveal.js presentations in Obsidian
https://mszturc.github.io/obsidian-advanced-slides/
MIT License
987 stars 82 forks source link

Fragmented lists - Invalid numbering and broken if above 10 #259

Open Pantoofle opened 1 year ago

Pantoofle commented 1 year ago

Describe the bug When displaying an fragmented ordered list, the numbering of the source is not respected, making it impossible to have an ordered list not starting at 1. Moreover, items of fragmented lists with index above 10 are not fragmented.

Samples to Reproduce Steps & Examples to reproduce the behavior: On this minimal example:

8) This should be 8.
9) This should be 9.
10) This is not detected
11) Same problem

The resulting slide will:

Expected behavior