Markdoc

Preprocessor for Svelte

Bring the power of Markdoc right into your Svelte applications!

svelte-markdoc-preprocess Logo
🏃🏻‍♀️

SvelteKit Support

Use Markdoc in your Svelte or SvelteKit applications.

📦

Components

Access your Svelte components directly as Markdoc tags or nodes.

🎨

Layouts

Use Svelte components as custom layouts.

🌍

Partials

Automatically import partials from a directory.

🌈

Typescript

Supports Typescript and JSDoc out of the box.

🔥

IDE

Syntax highlighting and autocompletion in Visual Studio Code.