mirror of
https://github.com/Sevichecc/Urara-Blog.git
synced 2025-05-06 05:19:13 +08:00
25 lines
488 B
Text
25 lines
488 B
Text
# 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/
|