Working syntax highlighting

This commit is contained in:
2020-09-30 09:22:18 -05:00
parent 769a640e2e
commit 55d5cf4f5a
8 changed files with 144 additions and 104 deletions

View File

@@ -22,7 +22,7 @@ module.exports = {
`gatsby-transformer-sharp`,
`gatsby-plugin-sharp`,
{
resolve: `gatsby-transformer-remark`,
resolve: `gatsby-transformer-remark`,
options: {
plugins: [
{
@@ -31,6 +31,23 @@ module.exports = {
maxWidth: 800,
},
},
{
resolve: `gatsby-remark-prismjs`,
options: {
classPrefix: "highlight-",
inlineCodeMarker: null,
aliases: {},
showLineNumbers: false,
noInlineHighlight: false,
languageExtensions: [],
prompt: {
user: "root",
host: "localhost",
global: false,
},
escapeEntities: {},
},
},
],
},
}