Files
AstralRinth/mdsvex.config.js
2022-05-25 17:22:54 -07:00

30 lines
605 B
JavaScript

import { defineMDSveXConfig as defineConfig } from 'mdsvex';
import examples from 'mdsvexamples';
import path from 'path';
const config = defineConfig({
extensions: ['.svelte.md', '.md', '.svx'],
smartypants: {
dashes: 'oldschool',
},
remarkPlugins: [
[
examples,
{
defaults: {
Wrapper: path.resolve('./src/docs/components/Example.svelte'),
},
},
],
],
rehypePlugins: [],
layout: {
_: './src/docs/layout/page.svelte',
},
});
export default config;