fix: compatability with docusaurus 2.2.0#223
fix: compatability with docusaurus 2.2.0#223bourdakos1 merged 6 commits intocloud-annotations:mainfrom
Conversation
✅ Deploy Preview for docusaurus-openapi ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
|
Thanks for the quick review 🙂 note for future context, we could probably update the But this fix unblocks the 2.2.0 support for now until we gather more use cases for that change. |
|
Thanks so much! |
| beforeDefaultRehypePlugins, | ||
| beforeDefaultRemarkPlugins, | ||
| // Docusaurus 2.2.0 has a regression that requires this option to be set. | ||
| markdownConfig: {}, |
There was a problem hiding this comment.
I would rather pass markdownConfig: context.siteConfig.markdown: this is what all other plugins do, and third-party plugin authors using our mdx loader should rather do the same to apply global markdown config for all md docs. There will be more Markdown site options in the future
Adds new property option that was introduced in v2.2.0 of
@docusaurus/mdx-loader.Resolves #222
Related Docusaurus issue: facebook/docusaurus#8298