Getting Started

Installing

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()]
}