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