JSPM

  • Created
  • Published
  • Downloads 67310
  • Score
    100M100P100Q140249F
  • License MIT

Markdown preprocessor for Svelte

Package Exports

  • mdsvex
  • mdsvex/dist/browser-es.js
  • mdsvex/dist/main.cjs.js
  • mdsvex/dist/main.es.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (mdsvex) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

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/