aravindballa / gatsby-theme-andy

A Gatsby theme to build Andy style websites. 📑
343 stars 46 forks source link

Enable hideDoubleBrackets plugin option from gatsby-theme-brain #2

Closed saundersbd closed 4 years ago

saundersbd commented 4 years ago

I noticed that the current version of gatsby-theme-brain allows you to hide the double bracket styling of internal links. It would be useful if I could enable this plugin option within gatsby-theme-andy.

thisizkp commented 4 years ago

I tried passing the options to the theme, even then it doesn't seem to be working. The theme does seem like reading the options and passing it to the gatsby-brain. Not sure where it's gone wrong.

module.exports = {
  siteMetadata: {
    title: `Kp's notes`,
  },
  plugins: [
    {
      resolve: `gatsby-theme-andy`,
      options: {
        hideDoubleBrackets: true,
      },
    },
  ],
}
aravindballa commented 4 years ago

That is how you should be doing. However, the issue here is that I didn’t update to the latest gatsby-theme-brain. So, it doesn’t respect that option.

I will fix this soon.

aravindballa commented 4 years ago

Fixed in v0.1.4