UNPKG

mdsvex

Version:

Markdown preprocessor for Svelte

26 lines (15 loc) 488 B
# MDsveX _do ya think I'm svexy?_ A markdown preprocessor for Svelte components. Basically [MDX](https://github.com/mdx-js/mdx) for Svelte. This preprocessor allows you use Svelte components in your markdown, or markdown in your svelte components. [Try it](https://mdsvex.com/) You can do this: ```jsx <script> import { Chart } from '../components/Chart.svelte'; </script> # Here’s a chart The chart is rendered inside our MDsveX document. <Chart /> ``` https://mdsvex.com/