0.0.2 • Published 4 years ago
gatsby-remark-flowchart-ver-yuchanns v0.0.2
gatsby-remark-flowchart
Make nice graphs in your markdown files in gatsbyjs, using flowchart.js.
install
npm install --save gatsby-transformer-remark gatsby-remark-flowchart
How to use
// In your gatsby-config.js
plugins: [
{
resolve: 'gatsby-transformer-remark',
options: {
plugins: [
{
resolve: `gatsby-remark-flowchart`,
options: {
// see more details on https://github.com/adrai/flowchart.js
'fill': 'white',
'line-color': 'black',
}
},
]
}
}
]
Make sure you put it before other plugins (especially those that work with code
blocks, like prism.)
Usage in Markdown
Will give you a graph that looks like this:
0.0.2
4 years ago