Skip to content

Commit

Permalink
Adds plugin to insert gists
Browse files Browse the repository at this point in the history
  • Loading branch information
ander94lakx committed Feb 13, 2022
1 parent f75fc50 commit dcd58a4
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,19 @@ module.exports = {
wrapperStyle: `margin-bottom: 1.0725rem`,
},
},
`gatsby-remark-prismjs`,
{
resolve: `gatsby-remark-embed-gist`,
options: {
gistDefaultCssInclude: true,
// gistCssUrlAddress: `https://raw.githubusercontent.com/lonekorean/gist-syntax-themes/master/stylesheets/one-dark.css`,
},
},
{
resolve: `gatsby-remark-prismjs`,
options: {
showLineNumbers: true,
},
},
`gatsby-remark-copy-linked-files`,
`gatsby-remark-smartypants`,
],
Expand Down

0 comments on commit dcd58a4

Please sign in to comment.