Extend Mdx

Extend MDX rendering in website-docs when a request needs either a new custom MDX component that authors can invoke with JSX-like tags, or a build-time Markdown-to-MDX transform that compiles plain Markdown syntax into custom JSX/AST behavior. Implement runtime components under src/components/MDXComponents/, implement build-time transforms under gatsby/plugin/, register exports and plugins in the right places, and validate the end-to-end MDX rendering path.

pingcap 0cba56f 2 files · 5.2 KB Updated

File contents

pingcap/website-docs/tree/main/.agents/skills/extend-mdx commit 0cba56f071

Frequently asked questions

npx skillmds@latest add pingcap/extend-mdx