feat: add react gfm

This commit is contained in:
Alexander Daichendt 2022-07-27 07:41:29 +02:00
parent 5be4f06cdf
commit e028ed3fa0
4 changed files with 561 additions and 11 deletions

View file

@ -1,17 +1,18 @@
import { defineMDSveXConfig as defineConfig } from 'mdsvex';
import remarkGFM from 'remark-gfm';
const config = defineConfig({
layout: {
blog: './src/layouts/blog.svelte'
blog: './src/layouts/blog.svelte',
},
extensions: ['.svelte.md', '.md', '.svx'],
smartypants: {
dashes: 'oldschool'
dashes: 'oldschool',
},
remarkPlugins: [],
rehypePlugins: []
remarkPlugins: [remarkGFM],
rehypePlugins: [],
});
export default config;