Files
Modrinth-plus/mdsvex.config.js

30 lines
478 B
JavaScript
Raw Normal View History

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({
extensions: ['.svelte.md', '.md', '.svx'],
2022-03-09 22:18:22 -08:00
smartypants: {
dashes: 'oldschool',
},
2022-03-09 22:18:22 -08:00
remarkPlugins: [
[
examples,
{
defaults: {
2022-06-17 19:58:01 -07:00
Wrapper: path.resolve('./docs/components/Example.svelte'),
},
},
],
],
rehypePlugins: [],
layout: {
2022-06-17 19:58:01 -07:00
_: './docs/layout/page.svelte',
},
})
2022-03-09 22:18:22 -08:00
export default config