1.7.4 • Published 3 years ago

@argdown/gatsby-remark-plugin v1.7.4

Weekly downloads
3
License
MIT
Repository
github
Last release
3 years ago

@argdown/gatsby-remark-plugin

Argdown logo

This package is part of the Argdown project and adds Argdown support to Gatsby.

For a more detailed documentation, read the guide on how to use Argdown in Markdown.

Installation

yarn add @argdown/gatsby-remark-plugin

Setup

gatsby-plugin-mdx

module.exports = {
  plugins: [
    {
      resolve: "gatsby-plugin-mdx",
      options: {
        gatsbyRemarkPlugins: [
          {
            resolve: "@argdown/gatsby-remark-plugin",
            options: {
              argdownConfig: {
                webComponent: {
                  withoutHeader: true
                }
              }
            }
          }
        ]
      }
    }
  ]
};

gatsby-transformer-remark

module.exports = {
  plugins: [
    {
      resolve: "gatsby-transformer-remark",
      options: {
        plugins: [
          {
            resolve: "@argdown/gatsby-remark-plugin",
            options: {
              argdownConfig: {
                webComponent: {
                  withoutHeader: true
                }
              }
            }
          }
        ]
      }
    }
  ]
};