twoslashes / twoslash

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

feat(twoslash-vue): support cut-before #41

Closed zhiyuanzmj closed 1 month ago

zhiyuanzmj commented 1 month ago
<script setup lang="ts">
import { ref } from "vue"
// ---cut---
const foo = ref('')
// ---cut-before---
const bar = ref('')
</script>
netlify[bot] commented 1 month ago

Deploy Preview for twoslash ready!

Name Link
Latest commit 75e5199413772e6b040de580c56e0ca61212d3d3
Latest deploy log https://app.netlify.com/sites/twoslash/deploys/66657a687be51c0008b262a8
Deploy Preview https://deploy-preview-41--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.

mattpocock commented 1 month ago

Got a link to where this syntax is documented?

zhiyuanzmj commented 1 month ago

Got a link to where this syntax is documented?有记录该语法的链接吗?关闭

https://twoslash.netlify.app/refs/notations#cut-before