Skip to content

[Content]: Add twoslash to code snippets #1109

Open

Description

@jer3m01

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

  1. jer3m01 commented on Mar 6, 2025

    @jer3m01
    MemberAuthor

    Twoslash is now enabled by default in SolidBase!

  2. added
    in progressSomeone is currently working on the issue.
    site improvementSomething that improves the website functionality
    on Mar 8, 2025
  3. brenelz commented on Sep 2, 2025

    @brenelz
    Collaborator

    Do we need to do anything here? Sounds like its enabled by default now so we can use it in code snippets?

  4. LadyBluenotes commented on Sep 3, 2025

    @LadyBluenotes
    Member

    I believe there's an error with twoslash at the moment but @jer3m01 will have to confirm

  5. jer3m01 commented on Sep 7, 2025

    @jer3m01
    MemberAuthor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

in progressSomeone is currently working on the issue.site improvementSomething that improves the website functionality

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions