16 lines
406 B
JavaScript
16 lines
406 B
JavaScript
import { defineMDSveXConfig as defineConfig } from 'mdsvex';
|
|
import rehypeSlug from 'rehype-slug';
|
|
import rehypeAutolinkHeadings from 'rehype-autolink-headings';
|
|
|
|
const config = defineConfig({
|
|
extensions: ['.svelte.md', '.md', '.svx'],
|
|
|
|
smartypants: {
|
|
dashes: 'oldschool'
|
|
},
|
|
|
|
remarkPlugins: [],
|
|
rehypePlugins: [rehypeSlug, [rehypeAutolinkHeadings, { behavior: 'wrap' }]]
|
|
});
|
|
|
|
export default config;
|