Skip to content

Commit cfb0940

Browse files
committed
add ShowCode component
1 parent 7feaf58 commit cfb0940

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/components/global/ShowCode.vue

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<template>
2+
<details>
3+
<summary class="outline-none">Show code</summary>
4+
<slot />
5+
</details>
6+
</template>

0 commit comments

Comments
 (0)