A Preprocessor for Svelte that allows writing Svelte code inside Markdown files; Similar to MDX for JSX.
Important
The latest version of this package is not compatible with Svelte 4. Please use the version 3.8.0 for Svelte 4 compatibility.
---
title: Hello, World!
---
<script>
import Markdown from "./Markdown.md"
import Component from "./Component.svelte"
</script>
The title of this page is {frontmatter.title}!
<Markdown />
<Component />
Awesome, jump in and help however you can! Open issues, submit PRs, improve docs - no worries about not knowing it all, we're all learning.