Skip to content

Commit

Permalink
build: add gatsby-remark-images
Browse files Browse the repository at this point in the history
  • Loading branch information
mdluo committed Apr 6, 2022
1 parent 692adb6 commit 4afcc80
Show file tree
Hide file tree
Showing 3 changed files with 117 additions and 30 deletions.
6 changes: 6 additions & 0 deletions gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,12 @@ module.exports = {
enableCustomId: true,
},
},
{
resolve: `gatsby-remark-images`,
options: {
maxWidth: 1200,
},
},
{
resolve: 'gatsby-remark-vscode',
options: {
Expand Down
140 changes: 110 additions & 30 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
"gatsby-plugin-typegen": "^2.2.4",
"gatsby-plugin-use-dark-mode": "^1.4.0",
"gatsby-remark-autolink-headers": "^4.11.0",
"gatsby-remark-images": "^5.11.0",
"gatsby-remark-vscode": "^3.3.0",
"gatsby-source-filesystem": "^3.14.0",
"gatsby-transformer-remark": "^4.11.0",
Expand Down

0 comments on commit 4afcc80

Please sign in to comment.