slidevjs / slidev

Presentation Slides for Developers
https://sli.dev
MIT License
33.46k stars 1.37k forks source link

Exporting Markdown mixes up slides' order #1878

Open vorburger opened 1 month ago

vorburger commented 1 month ago

Describe the bug

It seems to me that Exporting as Markdown mixes up slides' order?!

The order of what's on https://github.com/vorburger/LearningMachineLearning/blob/develop/docs/prez/sli.dev/dist/png.md does not match https://www.vorburger.ch/LearningMachineLearning/prez/sli.dev/dist/, or https://www.vorburger.ch/LearningMachineLearning/prez/sli.dev/dist/slides.pdf, or the order in https://github.com/vorburger/LearningMachineLearning/blob/develop/docs/prez/sli.dev/slides.md (all of which are correct, it's the Markdown Export which mixes it up, somehow).

That MD was produced by a simple slidev export --dark --format md. (See also #1874, but this is not directly related to that.)

Environment

vorburger commented 1 month ago

Since creating this issue, I've moved some things around, and the /dist/ is no longer on HEAD in my repo (because I've switched to building it in a GitHub Action; related to #1873), so those links as-is don't work anymore - but the problem is still there:

If you instead just look at https://www.vorburger.ch/LearningMachineLearning/png.md, that order does not match https://github.com/vorburger/LearningMachineLearning/blob/develop/docs/prez/sli.dev/slides.md ...