This is an adder for svelte-add
; you should read its README
before continuing here.
This adder's codename is mdsvex
, and can be used like so:
npx svelte-add@latest mdsvex
This adder supports SvelteKit and Vite-powered Svelte apps (all the environments svelte-add
currently supports).
This adder doesn't take any options of its own.
After the adder runs,
-
You can write Svelte in markdown syntax in
.md
,.svelte.md
, and.svx
files and import them as Svelte components. -
You can configure mdsvex in the
mdsvex.config.js
file.