npm.io
0.12.8 • Published yesterday

mdsvex

Licence
MIT
Version
0.12.8
Deps
6
Size
1.7 MB
Vulns
0
Weekly
0
Stars
3.0K

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/

Keywords