Skip to content

Commit 6aa1cdc

Browse files
committed
feat: add tables support
1 parent c090bdb commit 6aa1cdc

File tree

3 files changed

+552
-38
lines changed

3 files changed

+552
-38
lines changed

gatsby-config.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import path from 'path'
22
import fs from 'fs'
33
import remarkFm from 'remark-frontmatter'
4+
import remarkGfm from 'remark-gfm'
45

56
const {NODE_ENV, GATSBY_CONTENT_ALLOW, GATSBY_CONTENT_IGNORE, GATSBY_CONTENT_DIR = 'content'} = process.env
67
const DEV = NODE_ENV === 'development'
@@ -72,7 +73,7 @@ const config = {
7273
resolve: 'gatsby-plugin-mdx',
7374
options: {
7475
mdxOptions: {
75-
remarkPlugins: [remarkFm],
76+
remarkPlugins: [remarkFm, remarkGfm],
7677
},
7778
},
7879
},

0 commit comments

Comments
 (0)