Inserts styles / additional elements to make Bulma styles work in elements created from Markdown.
yarn add gatsby-remark-bulma
or
npm install --save gatsby-remark-bulma
// In your gatsby-config.js
plugins: [
{
resolve: `gatsby-transformer-remark`,
options: {
plugins: [`gatsby-remark-bulma`],
},
},
]
- Headings get
class="title is-${depth}
- Paragraphs get
class="content"
- Lists get wrapped in
<div class="content>...</div>
- Blockquotes get wrapped in
<div class="content>...</div>
Missing some style/element? Found a bug?
File an issue or better yet, submit a PR!
MIT