twoslashes / twoslash

Markup for generating rich type information in your documentations ahead of time.
https://twoslash.netlify.app/
MIT License
506 stars 17 forks source link

docs: add more notations refs #10

Closed antfu closed 8 months ago

antfu commented 8 months ago

This PR adds references for more notations.

Also made the input modifier to code snippet so the code tabs can show the input at initial rendering:

image
netlify[bot] commented 8 months ago

Deploy Preview for twoslash ready!

Name Link
Latest commit 903c5255636077d68337fc92c974fcc6ac1b8e80
Latest deploy log https://app.netlify.com/sites/twoslash/deploys/65a6a10795ae850008625e22
Deploy Preview https://deploy-preview-10--twoslash.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

orta commented 8 months ago

Clever! I was planning on doing something like this with also showing the JSON output of twoslash for some code blocks