vite-plugin-svelte-md
JSON →Vite plugin that converts Markdown files into Svelte component templates, enabling use of Svelte components directly within Markdown content. Current stable version is 0.6.0, released in March 2025. The plugin uses markdown-exit (an async-compatible fork of markdown-it) and supports frontmatter with YAML only. It is distributed as ESM-only, requires Node >=20, and works with Vite 3–8. Key differentiators: seamless integration with SvelteKit and Vite, support for Svelte script tags and components inside Markdown, and head tag generation from frontmatter.
Traffic · last 30 days stale · no recent hits
total hits 16
actors 6 distinct systems
last hit 19d ago ByteDance
top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇬🇧 United Kingdom · 🇨🇦 Canada · 🇩🇪 Germany
Resources
API endpoints
full doc /v1/registry/vite-plugin-svelte-md
compatibility /v1/registry/vite-plugin-svelte-md/compatibility