Spaces:
Paused
Paused
Download dev-docs/src/theme/MDXComponents.js from Leon4gr45/excalidraw: direct link, hf CLI and curl.
- Browser
- Download file 382 Bytes
-
https://huggingface.co/spaces/Leon4gr45/excalidraw/resolve/main/dev-docs/src/theme/MDXComponents.js
- Command line
-
hf download hf://spaces/Leon4gr45/excalidraw/dev-docs/src/theme/MDXComponents.js
-
curl -L -o MDXComponents.js https://huggingface.co/spaces/Leon4gr45/excalidraw/resolve/main/dev-docs/src/theme/MDXComponents.js
382 Bytes
| // Import the original mapper | |
| import Highlight from "@site/src/components/Highlight"; | |
| import MDXComponents from "@theme-original/MDXComponents"; | |
| export default { | |
| // Re-use the default mapping | |
| ...MDXComponents, | |
| // Map the "highlight" tag to our <Highlight /> component! | |
| // `Highlight` will receive all props that were passed to `highlight` in MDX | |
| highlight: Highlight, | |
| }; | |