This Vite plugin adds support for importing a Markdown file as a Vue component. Works with Vue 2 & 3.
Render your Vue.js code blocks inline by simply adding demo next to the language name.
The entry point for demo blocks must be a Vue.js component. You can import other code blocks in any language from the same Markdown file.
Since the code blocks are rendered inline, they're replaced by the actual Vue.js component.
Collection
[
|
...
]