This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

gatsby-remark-inline-codesandbox

0.6.1 • Public • Published

gatsby-remark-inline-codesandbox

Installation

yarn add gatsby-remark-inline-codesandbox

Setup

gatsby-plugin-mdx

module.exports = {
  plugins: [
    {
      resolve: 'gatsby-plugin-mdx',
      options: {
        gatsbyRemarkPlugins: [
          {
            resolve: 'gatsby-remark-inline-codesandbox',
            options: {
              mode: 'button',
            },
          },
        ],
      },
    },
  ],
};

gatsby-transformer-remark

module.exports = {
  plugins: [
    {
      resolve: 'gatsby-transformer-remark',
      options: {
        plugins: [
          {
            resolve: 'gatsby-remark-inline-codesandbox',
            options: {
              mode: 'button',
            },
          },
        ],
      },
    },
  ],
};

Usage & Documentation

See the remark-codesandbox package for more information.

Package Sidebar

Install

npm i gatsby-remark-inline-codesandbox

Weekly Downloads

4

Version

0.6.1

License

MIT

Unpacked Size

2.95 kB

Total Files

4

Last publish

Collaborators

  • kevin940726