Svelte Markdoc Preprocess

Bring the power of Markdoc right into your Svelte applications.

svelte-markdoc-preprocess lets you author content in Markdoc while rendering with Svelte and SvelteKit.

Highlights

  • Works with Svelte and SvelteKit
  • Use Svelte components as Markdoc nodes and tags
  • Configure reusable layouts for pages
  • Auto-load partial files from a directory
  • TypeScript-friendly setup
  • Markdoc schema generation for VS Code support