diff --git a/gatsby-config.js b/gatsby-config.js index 3406178..3bdd5c1 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -18,7 +18,7 @@ module.exports = { options: { plugins: [ 'gatsby-remark-smartypants', - { resolve: 'gatsby-remark-mermaid', options: { theme: "dark", } }, + { resolve: 'gatsby-remark-mermaid', options: { theme: "dark", mermaidOptions: { themeCSS: ".mermaid foreignObject {overflow: visible;}" } } }, { resolve: 'gatsby-remark-prismjs', options: { showLineNumbers: false, } }, ] } @@ -28,4 +28,4 @@ module.exports = { { resolve: 'gatsby-plugin-manifest', options: require("./manifest") }, { resolve: 'gatsby-plugin-canonical-urls', options: { siteUrl: require("./metadata").siteUrl } }, ] -}; \ No newline at end of file +};