Code snippets could benefit from using twoslash to annotate examples: https://twoslash.matthiesen.dev/getting-started/basic/. Depending on the implementation in solidbase it might be an option to enable in app.config.ts.
Activity
jer3m01 commentedon Mar 6, 2025
Twoslash is now enabled by default in SolidBase!
brenelz commentedon Sep 2, 2025
Do we need to do anything here? Sounds like its enabled by default now so we can use it in code snippets?
LadyBluenotes commentedon Sep 3, 2025
I believe there's an error with twoslash at the moment but @jer3m01 will have to confirm
jer3m01 commentedon Sep 7, 2025
There were a few missing shiki theme variables (we should be able to set them in config), and possibly a render bug.
Haven't tried it in a while.