Skip to content

Add shiki-twoslash tooltips to docsite #1670

Description

@cspotcode

For example, get fancy IntelliSense tooltips in your code samples:
https://mael.dev/clipanion/docs/getting-started

For us, a unique challenge: we must also render down to README.md. Might need a processing step in our README generator to strip shiki twoslash syntax.

https://github.com/shikijs/twoslash/tree/main/packages/docusaurus-preset-shiki-twoslash
https://github.com/shikijs/twoslash

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions