UNPKG

expressive-code-twoslash

Version:

Add Twoslash support to your Expressive Code TypeScript code blocks.

22 lines (14 loc) 1.28 kB
# `expressive-code-twoslash` Add Twoslash support to your Expressive Code TypeScript code blocks. ## Documentation [Read the full documentation →](https://twoslash.matthiesen.dev) ### TODO - [ ] Make Annotations accessible - [ ] Use EC's Markdown processing system once released. (Requires support from EC (Planned)) - [ ] Figure out how to work with TwoslashVFS and setup support for "Showing Emitted Files" ## Licensing [MIT Licensed](https://github.com/MatthiesenXYZ/EC-Plugins/tree/main/packages/twoslash/LICENSE). Made with ❤️ by [Adam Matthiesen](https://github.com/Adammatthiesen). ## Acknowledgements - [GitHub: @Hippotastic](https://github.com/hippotastic) for providing/maintaining Expressive Code as well as being a huge help during the development of this plugin! - [EffectTS Website](https://effect.website/docs) for showing the EC Community that Twoslash CAN be used with Expressive-Code. While they did have the first working version, this re-sparked intrest in me building out a fully featured EC-Twoslash plugin for the community. - [`shiki-twoslash`](https://github.com/shikijs/twoslash/tree/main/packages/shiki-twoslash) for being the example of how to implement the elements within codeblocks as well as providing the basic layouts of the elements.