Skip to content

Commit

Permalink
Add mdx plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
mtheoryx committed May 24, 2020
1 parent 1217c39 commit d8c8902
Show file tree
Hide file tree
Showing 3 changed files with 355 additions and 17 deletions.
7 changes: 2 additions & 5 deletions public-site/gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ module.exports = {
},
},
{
resolve: `gatsby-transformer-remark`,
resolve: `gatsby-plugin-mdx`,
options: {
plugins: [
gatsbyRemarkPlugins: [
{
resolve: `gatsby-remark-relative-images`,
},
Expand All @@ -77,8 +77,5 @@ module.exports = {
],
},
},
// this (optional) plugin enables Progressive Web App + Offline functionality
// To learn more, visit: https://gatsby.dev/offline
// `gatsby-plugin-offline`,
],
}
7 changes: 5 additions & 2 deletions public-site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,13 @@
"@fortawesome/fontawesome-svg-core": "^1.2.18",
"@fortawesome/free-solid-svg-icons": "^5.8.2",
"@fortawesome/react-fontawesome": "^0.1.4",
"@mdx-js/mdx": "^1.6.4",
"@mdx-js/react": "^1.6.4",
"babel-plugin-styled-components": "^1.10.0",
"gatsby": "^2.5.0",
"gatsby-image": "^2.0.41",
"gatsby-plugin-manifest": "^2.1.1",
"gatsby-plugin-mdx": "^1.2.12",
"gatsby-plugin-offline": "^2.1.0",
"gatsby-plugin-react-helmet": "^3.0.12",
"gatsby-plugin-sharp": "^2.0.37",
Expand All @@ -42,9 +45,9 @@
"styled-components": "^4.2.0"
},
"devDependencies": {
"prettier": "^1.17.1",
"alex": "^8.1.1",
"husky": "^4.2.5"
"husky": "^4.2.5",
"prettier": "^1.17.1"
},
"keywords": [
"gatsby"
Expand Down
Loading

0 comments on commit d8c8902

Please sign in to comment.