sveltemd_2 Svelte Themes

Sveltemd_2

A modern markdown preprocessor for Svelte (WIP).

Sveltemd

A modern markdown preprocessor for Svelte (WIP). Focused on providing extremely easy markdown usage with minimal config needed.

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

Planned Features

General

  • preprocess markdown files as svelte + markdown
  • flexible layout system (Complete!)
  • get frontmatter from children files
  • easy content processing (image, video, audio, etc)
    • Ex. support for enhanced-img or other processors
    • relative content urls?

Code blocks

  • custom syntax highlighter

Top categories

Loading Svelte Themes