Skip to content

Commit

Permalink
remark external links (#9)
Browse files Browse the repository at this point in the history
* open external links correctly

* fresh yarn.lock file

* lint
  • Loading branch information
piskunow committed Aug 7, 2023
1 parent 0ca046f commit 99696b4
Show file tree
Hide file tree
Showing 3 changed files with 218 additions and 177 deletions.
7 changes: 7 additions & 0 deletions gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,13 @@ module.exports = {
{
resolve: "gatsby-remark-static-images",
},
{
resolve: "gatsby-remark-external-links",
options: {
target: "_blank",
rel: "noopener noreferrer",
},
},
],
},
},
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"gatsby-plugin-sharp": "^5.11.0",
"gatsby-plugin-sitemap": "^6.11.0",
"gatsby-plugin-styled-components": "^6.11.0",
"gatsby-remark-external-links": "^0.0.4",
"gatsby-remark-images": "^7.11.0",
"gatsby-remark-katex": "^7.11.0",
"gatsby-remark-prismjs": "^7.11.0",
Expand Down
Loading

0 comments on commit 99696b4

Please sign in to comment.