Replies: 1 comment 1 reply
-
You mean you want to avoid writing MDX imports? For now the only solution I can think of is by swizzling It is definitively something I'd like to allow through simple configuration, and also make sure most useful MDX components from the theme are available by default (like the tabs), without the need to import them |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In this example one can see that one can teach MDX to load components globally.
I've also seen https://docusaurus.io/examples/markdownPageExample#import-code-block-from-source-code-file, but it does not mention global loading.
How would I teach docusaurus to load all components globally?
The missing piece is how to teach docusaurus to load that file too, any input is welcome 🍻
Beta Was this translation helpful? Give feedback.
All reactions