A modern markdown preprocessor for Svelte (WIP). Focused on providing extremely easy markdown usage with minimal config needed.
Note: package not published yet.
pnpm i -D sveltemd
Add it to your svelte.config.js
:
import { markdown } from 'sveltemd'
/** @type {import('@sveltejs/kit').Config} */
const config = {
extensions: ['.svelte', '.md'],
preprocess: [vitePreprocess(), markdown()],
}
General
Code blocks