README.md
June 9, 2023 ยท View on GitHub
๐ง Add mdsvex to Svelte
This is an adder for svelte-add; you should read its README before continuing here.
โ Adding mdsvex
This adder's codename is mdsvex, and can be used like so:
npx svelte-add@latest mdsvex
๐ Supported environments
This adder supports SvelteKit and Vite-powered Svelte apps (all the environments svelte-add currently supports).
โ๏ธ Options
This adder doesn't take any options of its own.
๐ Using mdsvex
After the adder runs,
-
You can write Svelte in markdown syntax in
.md,.svelte.md, and.svxfiles and import them as Svelte components. -
You can configure mdsvex in the
mdsvex.config.jsfile.