We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm trying to use remark-custom-blocks. However I am unable to find a way to pass in required plugin options. I looked at #706 but still no luck.
See how the plugin is used below
remark.use(remarkCustomBlocks, { someType: 'a-css-class another-class', anotherType: 'foo', })
I have tried the following, but no luck unfortunately
module.exports.setParserPlugins = () => [ function customRemark() { return remarkCustomBlocks({ danger: 'danger', info: 'info', }); }, ];
Is there a way to pass parser option arguments?
Perhaps we could change
gatsby/packages/gatsby-transformer-remark/src/extend-node-type.js
Line 63 in dcfa0fa
Gatsby version: 1.1.20 Node.js version: v8.5.0
The text was updated successfully, but these errors were encountered:
Hey sure! That totally makes sense and seems like it was an oversight not adding that originally.
Would you like to create a PR for this?
A plugin for remark-custom-blocks would be 💯 too :-)
Sorry, something went wrong.
Absolutely :). I'll work on a PR tonight.
Due to the high volume of issues, we're closing out older ones without recent activity. Please open a new issue if you need help!
No branches or pull requests
Description
I'm trying to use remark-custom-blocks. However I am unable to find a way to pass in required plugin options. I looked at #706 but still no luck.
See how the plugin is used below
I have tried the following, but no luck unfortunately
Is there a way to pass parser option arguments?
Perhaps we could change
gatsby/packages/gatsby-transformer-remark/src/extend-node-type.js
Line 63 in dcfa0fa
Environment
Gatsby version: 1.1.20
Node.js version: v8.5.0
The text was updated successfully, but these errors were encountered: