2022-03-09 22:18:22 -08:00
|
|
|
import { defineMDSveXConfig as defineConfig } from 'mdsvex';
|
2022-03-29 00:44:23 -07:00
|
|
|
import examples from 'mdsvexamples'
|
2022-03-09 22:18:22 -08:00
|
|
|
|
|
|
|
|
const config = defineConfig({
|
|
|
|
|
extensions: ['.svelte.md', '.md', '.svx'],
|
|
|
|
|
|
|
|
|
|
smartypants: {
|
|
|
|
|
dashes: 'oldschool',
|
|
|
|
|
},
|
|
|
|
|
|
2022-03-29 00:44:23 -07:00
|
|
|
remarkPlugins: [[examples, { ExampleComponent: '$routes/_internal/components/Example.svelte' }]],
|
2022-03-09 22:18:22 -08:00
|
|
|
rehypePlugins: [],
|
2022-03-12 01:34:09 -08:00
|
|
|
|
|
|
|
|
layout: {
|
|
|
|
|
_: "./src/routes/_internal/layout/page.svelte",
|
|
|
|
|
}
|
2022-03-09 22:18:22 -08:00
|
|
|
});
|
|
|
|
|
|
|
|
|
|
export default config;
|