2022-05-26 19:17:15 -07:00
|
|
|
import { defineMDSveXConfig as defineConfig } from 'mdsvex'
|
|
|
|
|
import examples from 'mdsvexamples'
|
|
|
|
|
import path from 'path'
|
2022-03-09 22:18:22 -08:00
|
|
|
|
|
|
|
|
const config = defineConfig({
|
2022-05-26 19:17:15 -07:00
|
|
|
extensions: ['.svelte.md', '.md', '.svx'],
|
2022-03-09 22:18:22 -08:00
|
|
|
|
2022-05-26 19:17:15 -07:00
|
|
|
smartypants: {
|
|
|
|
|
dashes: 'oldschool',
|
|
|
|
|
},
|
2022-03-09 22:18:22 -08:00
|
|
|
|
2022-05-26 19:17:15 -07:00
|
|
|
remarkPlugins: [
|
|
|
|
|
[
|
|
|
|
|
examples,
|
|
|
|
|
{
|
|
|
|
|
defaults: {
|
2022-06-17 19:58:01 -07:00
|
|
|
Wrapper: path.resolve('./docs/components/Example.svelte'),
|
2022-05-26 19:17:15 -07:00
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
],
|
|
|
|
|
rehypePlugins: [],
|
2022-03-12 01:34:09 -08:00
|
|
|
|
2022-05-26 19:17:15 -07:00
|
|
|
layout: {
|
2022-06-17 19:58:01 -07:00
|
|
|
_: './docs/layout/page.svelte',
|
2022-05-26 19:17:15 -07:00
|
|
|
},
|
|
|
|
|
})
|
2022-03-09 22:18:22 -08:00
|
|
|
|
2022-05-26 19:17:15 -07:00
|
|
|
export default config
|