slidev
slidev copied to clipboard
Some ANSI escape sequences break the slide deck
Describe the bug
Some code snippets cause the slide deck to break. The frontend is stuck trying to load slides forever. The backend is probably in some kind of crashed or stuck state.
Minimal reproduction
- Create a file, demo.out: echo "G1szNG1uaWNlIGNvbG9ycxtbMG0gChtbPzFoGz0K" | base64 -d > demo.out
- Create a file demo.md with the following content:
---
layout: center
---
# This set of slides is buggy...
---
# Because of this
<<< blah.out ansi
---
# this slide won't load
I'll find something to put here...
Trying to load these slides fails for me.
Environment
- Slidev version: 51.1.0
- Browser: Chrome 133.0.6943.53
- OS: Linux alpine3.20
I tried the reproduction, and the slides ran without reporting any errors. But it shows up kind of buggy: