Instantly share code, notes, and snippets.

Embed
What would you like to do?
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