gatsby-remark-jh-inline-svg

0.1.3 • Public • Published

gatsby-remark-jh-inline-svg

This plugin is designed for use with the gatsby-plugin-mdx.

First, install via NPM:

npm install gatsby-remark-jh-inline-svg

Then add to gatsby-config.js:

module.exports = {
    plugins: [
        {
            resolve: 'gatsby-plugin-mdx',
            options: {
                gatsbyRemarkPlugins: [
                    {
                        resolve: 'gatsby-remark-jh-inline-svg',
                        options: {
                            colors: {
                                '#fafafa': 'var(--myColor)'
                            }
                        }
                    }
                ]
            }
        }
    ]
}

Readme

Keywords

none

Package Sidebar

Install

npm i gatsby-remark-jh-inline-svg

Weekly Downloads

1

Version

0.1.3

License

ISC

Unpacked Size

2.82 kB

Total Files

3

Last publish

Collaborators

  • jonathanharrell