Skip to content

Instantly share code, notes, and snippets.

@cdaringe
Created October 2, 2018 05:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cdaringe/cc5c00dbd7a2b87ab41aaa7ad787d1a7 to your computer and use it in GitHub Desktop.
Save cdaringe/cc5c00dbd7a2b87ab41aaa7ad787d1a7 to your computer and use it in GitHub Desktop.
gatsby-config.js
const markdown = [
`gatsby-plugin-sharp`,
{
resolve: `gatsby-transformer-remark`,
options: {
plugins: [
{
resolve: `gatsby-remark-images`,
options: { maxWidth: 590 }
},
{
resolve: `gatsby-remark-prismjs`,
options: {
inlineCodeMarker: '›',
aliases: {},
showLineNumbers: false
}
}
]
}
}
]
module.exports = {
siteMetadata: { title: 'cdaringe - blog' },
plugins: [
{
resolve: `gatsby-source-filesystem`,
options: {
name: `src`,
path: `${__dirname}/src/`
}
},
...markdown,
'gatsby-plugin-react-helmet',
{
resolve: `gatsby-plugin-manifest`,
options: {
name: 'gatsby-starter-default',
short_name: 'starter',
start_url: '/',
background_color: '#663399',
theme_color: '#663399',
display: 'minimal-ui',
icon: 'src/images/logo.png'
}
},
'gatsby-plugin-offline'
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment