Vitepress
This commit is contained in:
13
node_modules/shiki/samples/mdx.sample
generated
vendored
Normal file
13
node_modules/shiki/samples/mdx.sample
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
<MyComponent id="123" />
|
||||
|
||||
You can also use objects with components, such as the `thisOne` component on
|
||||
the `myComponents` object: <myComponents.thisOne />
|
||||
|
||||
<Component
|
||||
open
|
||||
x={1}
|
||||
label={'this is a string, *not* markdown!'}
|
||||
icon={<Icon />}
|
||||
/>
|
||||
|
||||
{/* From https://mdxjs.com/docs/what-is-mdx/#mdx-syntax */}
|
||||
Reference in New Issue
Block a user