Migrate to Netlify Today

Netlify announces the next evolution of Gatsby Cloud. Learn more

ContactSign Up
Community Plugin
View plugin on GitHub

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

© 2023 Gatsby, Inc.