Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some ANSI escape sequences break the slide deck #2057

Open
alokmenghrajani opened this issue Feb 9, 2025 · 1 comment
Open

Some ANSI escape sequences break the slide deck #2057

alokmenghrajani opened this issue Feb 9, 2025 · 1 comment
Labels
needs info Waiting for more information from the user

Comments

@alokmenghrajani
Copy link

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
@kermanx kermanx added bug and removed bug labels Feb 20, 2025
@kermanx
Copy link
Member

kermanx commented Feb 21, 2025

I tried the reproduction, and the slides ran without reporting any errors. But it shows up kind of buggy:

Image

@kermanx kermanx added the needs info Waiting for more information from the user label Feb 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs info Waiting for more information from the user
Projects
None yet
Development

No branches or pull requests

2 participants