Closed havefunatcode closed 1 year ago
Hey @havefunatcode!
I am not sure if this will work out of the box. At first glance, you could try two things:
{
resolve: 'gatsby-transformer-remark',
options: {
plugins: [
{
resolve: `gatsby-remark-mermaid`,
options: {
launchOptions: {
executablePath: 'path/to/chrome/executable'
},
svgo: {
plugins: [{ name: 'removeTitle', active: false }]
},
mermaidOptions: {
theme: 'neutral',
themeCSS: '.node rect { fill: #fff; }'
}
}
}
]
}
}
Thanks for your help.
There's an issue where letters break when you draw the following chart, but it works properly when you apply the answers you've!
Thanks!! :)
While using the starter portfolio theme you worked on, I wanted to add mermaid to my blog post, so I found gatsby-plugin page for mermaid(https://www.gatsbyjs.com/plugins/gatsby-remark-mermaid/), and I set gatsby-config.js to apply it.
I attach my code.
I hope it's work. but it doesn't. I'm a junior java developer, so I'm very inexperienced with js. Could you please advise how to apply it?