-
I've recently upgraded to V3, and It's been really good. I've refactored my // gatsby-config.js
module.exports = {
plugins: [
{
resolve: `gatsby-plugin-mdx`,
options: {
remarkPlugins: [
require( `remark-math` ),
require( `remark-html-katex` )
],
extensions: [`.md`, `.mdx`],
},
},
... This works great for Katex, but I can no longer include the packages I use with // gatsby-config.js
module.exports = {
plugins: [
{
resolve: `gatsby-plugin-mdx`,
options: {
remarkPlugins: [
// `gatsby-remark-vscode`, <- NO LONGER WORKS
require( `remark-math` ),
require( `remark-html-katex` )
],
extensions: [`.md`, `.mdx`],
},
},
... Any idea how to get around this? |
Beta Was this translation helpful? Give feedback.
Answered by
bsraya
Apr 19, 2021
Replies: 1 comment
-
module.exports = {
plugins: [
{
resolve: `gatsby-plugin-mdx`,
options: {
gatsbyRemarkPlugins: [
{
resolve: `gatsby-remark-vscode`,
options: {
....
}
}
]
remarkPlugins: [
require( `remark-math` ),
require( `remark-html-katex` )
],
extensions: [`.md`, `.mdx`],
},
}, It works on mine, hope that works on yours. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
tnorlund
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It works on mine, hope that works on yours.