@argdown/gatsby-remark-plugin

1.7.4 • Public • Published

@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
                }
              }
            }
          }
        ]
      }
    }
  ]
};

Package Sidebar

Install

npm i @argdown/gatsby-remark-plugin

Weekly Downloads

2

Version

1.7.4

License

MIT

Unpacked Size

3.58 kB

Total Files

4

Last publish

Collaborators

  • christianvoigt