-
-
Notifications
You must be signed in to change notification settings - Fork 9.8k
Recma plugins support #10237
Copy link
Copy link
Closed
Labels
featureThis is not a bug or issue with Docusausus, per se. It is a feature request for the future.This is not a bug or issue with Docusausus, per se. It is a feature request for the future.
Metadata
Metadata
Assignees
Labels
featureThis is not a bug or issue with Docusausus, per se. It is a feature request for the future.This is not a bug or issue with Docusausus, per se. It is a feature request for the future.
Type
Fields
Give feedbackNo fields configured for issues without a type.
TL;DR: Docusaurus supports remark and rehype plugins, but not recma plugins.
Have you read the Contributing Guidelines on issues?
Prerequisites
npm run clearoryarn clearcommand.rm -rf node_modules yarn.lock package-lock.jsonand re-installing packages.Description
I'm working on an example showing how to use Code Hike v1 + Docusaurus, but Docusaurus is missing the option to pass recma plugins that Code Hike needs.
Reproducible demo
code-hike/examples#8
Actual behavior
The
MDXOptionsfrom@docusaurus/mdx-loader:Expected behavior
recmaPluginsis already supported by theProcessorOptionsfrom@mdx-js/mdxv3.0.0 that@docusaurus/mdx-loaderis using.Your environment