Skip to content
This repository was archived by the owner on Jul 25, 2019. It is now read-only.

Commit e7521f3

Browse files
committed
Fix embed-snippets 🤦🏻‍♀️
- inadvertently removed the config when I added the new gatsby-remark-snippets plugin
1 parent f51486f commit e7521f3

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

gatsby-config.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,14 @@ const plugins = [
5858
directory: `${__dirname}/content/.examples/`,
5959
},
6060
},
61+
{
62+
resolve: `gatsby-remark-embed-snippet`,
63+
options: {
64+
// Example code links are relative to this dir.
65+
// eg examples/path/to/file.js
66+
directory: `${__dirname}/content/.examples/`,
67+
},
68+
},
6169
`gatsby-remark-autolink-headers`,
6270
`gatsby-remark-code-titles`,
6371
`gatsby-remark-prismjs`,

0 commit comments

Comments
 (0)