-
Notifications
You must be signed in to change notification settings - Fork 64
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
@shikijs/twoslash does not work on rehype pretty code transformers option #231
Comments
Not at all a minimal reproduction (I'll try to write one sometime), but at least a full project: Effect-TS/website#770. |
Ok, it turns out that it's about order: https://github.com/Effect-TS/website/compare/23debaa8e1ef70ee534ef21097a99d5361932882..20608435dcc90deb7616af2b89bacdf28cd4fb37 (ignore the CSS changes) |
Thanks for your suggestion @lishaduck but it doesn't work. Turns out that after applying all your new suggestions, what I get is a |
Yeah. I ran into that as well. I don't know what plugins you're using, but some orders work, and some lose styling, and some work but without twoslash. I don't really know why, just that's what I'm experiencing. |
@shikijs/twoslash
does not work onrehype-pretty-code
transformers
options, which the docs say here that it should work.However, so far, it is not working. This is a sample of the code:
The text was updated successfully, but these errors were encountered: