Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

mdsvex

pngwn376.3kMIT0.12.6TypeScript support: included

Markdown preprocessor for Svelte

test, preprocessor, mdx, markdown, svelte

readme

MDsveX

do ya think I'm svexy?

A markdown preprocessor for Svelte components. Basically MDX for Svelte.

This preprocessor allows you use Svelte components in your markdown, or markdown in your svelte components.

Try it

You can do this:

<script>
  import { Chart } from '../components/Chart.svelte';
</script>

# Here’s a chart

The chart is rendered inside our MDsveX document.

<Chart />

https://mdsvex.com/