Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add shiki-twoslash tooltips to docsite #1670

@cspotcode

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

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