React Server and Client components for enhancing and rendering MDX content.

API Reference

Renders a pre element with syntax highlighting, type information, and type checking.

Renders line numbers for the CodeBlock component.

Renders syntax highlighted tokens for the CodeBlock component.

A toolbar for the CodeBlock component that displays the filename, a source link, and copy button.

Renders an inline code element with optional syntax highlighting.

Displays type documentation for all exported types from a module or source code value.

Renders a logo for the configured Git provider.

A link to the configured Git provider source code repository.

Compiles and renders a string of MDX content.

Renders a navigation tree from createSource or mergeSources.

Last updated