shikijs / twoslash

You take some Shiki, add a hint of TypeScript compiler, and 🎉 incredible static code samples
https://shikijs.github.io/twoslash/
MIT License
1.08k stars 53 forks source link

Adds an annotations system #91

Closed orta closed 3 years ago

orta commented 3 years ago

Adds a rough outline for #44 - will need to test it in prod before recommending it to people

changeset-bot[bot] commented 3 years ago

🦋 Changeset detected

Latest commit: b6e650f4f57b260277f0f349802f1a18dfb748b2

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 9 packages | Name | Type | | -------------------------------- | ----- | | shiki-twoslash | Patch | | docusaurus-preset-shiki-twoslash | Patch | | eleventy-plugin-shiki-twoslash | Patch | | gatsby-remark-shiki-twoslash | Patch | | hexo-shiki-twoslash | Patch | | markdown-it-shiki-twoslash | Patch | | remark-shiki-twoslash | Patch | | twoslash-cli | Patch | | vuepress-plugin-shiki-twoslash | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

orta commented 3 years ago

Got this working on the TS website

Screen Shot 2021-08-05 at 11 40 12 PM