Skip to content
This repository has been archived by the owner on Apr 24, 2020. It is now read-only.

Commit

Permalink
moved duplicate gatsby-transformer-remark
Browse files Browse the repository at this point in the history
  • Loading branch information
spences10 committed Nov 26, 2018
1 parent 3820c2d commit 2c2b403
Showing 1 changed file with 8 additions and 18 deletions.
26 changes: 8 additions & 18 deletions gatsby-config.js
Expand Up @@ -56,7 +56,14 @@ module.exports = {
}
},
'gatsby-remark-autolink-headers',
'gatsby-remark-prismjs'
'gatsby-remark-prismjs',
{
resolve: 'gatsby-remark-embed-video',
options: {
related: false, //Optional: Will remove related videos from the end of an embedded YouTube video.
noIframeBorder: true //Optional: Disable insertion of <style> border: 0
}
}
]
}
},
Expand Down Expand Up @@ -116,23 +123,6 @@ module.exports = {
anonymize: false
}
},
{
resolve: 'gatsby-transformer-remark',
options: {
plugins: [
{
resolve: 'gatsby-remark-embed-video',
options: {
width: 800,
ratio: 1.77, // Optional: Defaults to 16/9 = 1.77
height: 400, // Optional: Overrides optional.ratio
related: false, //Optional: Will remove related videos from the end of an embedded YouTube video.
noIframeBorder: true //Optional: Disable insertion of <style> border: 0
}
}
]
}
},
'gatsby-plugin-styled-components',
// this has to stay at the end of the array
'gatsby-plugin-netlify'
Expand Down

0 comments on commit 2c2b403

Please sign in to comment.