Last active
February 2, 2020 03:31
-
-
Save haigopi/441270eec97e8f6c150432878cde0ad9 to your computer and use it in GitHub Desktop.
MDFiles Gatsby Plugin
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
resolve: 'gatsby-plugin-mdx', | |
options: { | |
extensions: ['.md', '.mdx'], | |
gatsbyRemarkPlugins | |
} | |
} | |
const gatsbyRemarkPlugins = [ | |
'gatsby-plugin-typegen', | |
{ | |
resolve: 'gatsby-remark-smartypants', | |
options: { | |
dashes: 'oldschool' | |
} | |
}, | |
{ | |
resolve: 'gatsby-remark-prismjs', | |
options: { | |
classPrefix: 'language-', | |
inlineCodeMarker: { | |
tsx: 'tsx' | |
}, | |
aliases: {} | |
} | |
}, | |
{ | |
resolve: 'gatsby-remark-images', | |
options: { | |
maxWidth: 1200 | |
} | |
}, | |
{ | |
resolve: 'gatsby-remark-copy-linked-files', | |
options: {} | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment