Replies: 2 comments 6 replies
|
Hi! With the |
0 replies
|
I was attempting to avoid re-declaring all the mdx config just to add another plugin resolve: `@lekoarts/gatsby-theme-minimal-blog`,
// See the theme's README for all available options
options: {
mdx: {
remarkPlugins: [
{
resolve: 'gatsby-remark-embedder',
options: {
customTransformers: [vimeo],
},
},
],
},
...However, in hindsight, that may be the safest approach. |
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch
@lekoarts/gatsby-theme-minimal-blog-core@6.1.0for the project I'm working on.What would you think of allowing the
mdxconfig option to allow additional plugins? I tried to turn mdx off from the theme, and copy that block and add my own extensions, but gatsby failed to start (maybe I'm missing something?)... extending your package with this line, simply allowed me to add the plugin.Here is the diff that solved my problem:
This issue body was partially generated by patch-package.
All reactions