1.0.0 • Published 6 years ago
gatsby-remark-containers v1.0.0
gatsby-remark-containers
Gatsby.js Remark plugin wrapper for remark-containers.
Provides parsing for ::: delimited containers to wrap markdown blocks in
arbitrary html. This snippet:
::: aside
# Header One
With container contents.
:::Results in:
<aside>
  <h1>Header One</h1>
  <p>With container contents.</p>
</aside>Install
npm install --save gatsby-remark-containersUsage
In your gatsby-config.js:
plugins: [
  {
    resolve: 'gatsby-transformer-remark',
    options: {
      plugins: [
        'gatsby-remark-containers'
      ],
    },
  },
];Test + Cover
npm testLicense
1.0.0
6 years ago