gatsby-theme-leasot

Configures gatsby-source-filesystem & gatsby-transformer-leasot

Install

yarn add -D gatsby-theme-leasot
# or
npm i -D gatsby-theme-leasot

Usage

// in your gatsby-config.js
{
  resolve: 'gatsby-theme-leasot',
  options: {
    // required to define from where gatsby-transformer-leasot starts to scan
    sourcePath: __dirname,
    // optional, defaults to ['TODO', 'FIXME']
    customTags: ['NOTE', 'DONE'],
    // optional, default 'text', supports one of 'text', 'html', 'mdx'
    mode: 'mdx',
  },
},

License

MIT © CanRau