ZuploZuplo
LoginSign Up
  • Documentation
  • API Reference
Introduction
Getting Started
    Develop using the Portal
      1 - Setup Your Gateway2 - Rate Limiting3 - API Key Auth4 - Deploy5 - Dynamic Rate LimitingMCP - Quick start
    Develop Locally
      1 - Setup Your Gateway2 - Rate Limiting3 - API Key Auth
Concepts
Development
Policies
Handlers
API Keys
MCP Server
MCP Gateway
AI Gateway
Developer Portal
    IntroductionLocal DevelopmentUpdating VersionsNode Modules & Customization
    Configuration
    Writing
      MarkdownFrontmatterMDXAdmonitionsCode Blocks
    OpenAPI
    Authentication
    Integrations
    Guides
    Extending
    Components
Monetization
Deploying & Source Control
Observability
Networking & Infrastructure
Account Management
Programming API
Build with AI
Zuplo CLI
Migration Guides
Platform LimitsSecuritySupportTrust & ComplianceChangelog
powered by Zudoku
Writing

MDX

Dev Portal supports MDX files for creating rich content pages. MDX is a markdown format that allows you to include JSX components in your markdown files.

Getting Started

To use MDX in your documentation, simply create files with the .mdx extension instead of .md. These files work exactly like regular markdown files but with all MDX features unlocked - you can write normal markdown content and add JSX components whenever needed.

Code
docs/ ├── my-page.md # Regular markdown ├── my-mdx-page.mdx # MDX with JSX support

Custom Components

Dev Portal supports the use of custom components in your MDX files. This allows you to create reusable components that can be used across multiple pages.

You can create a custom component in your project and reference it in the Dev Portal Configuration file.

For example, create the <MyCustomComponent /> component in a file called MyCustomComponent.tsx in the src directory at the root of your project.

Code
export default function MyCustomComponent() { return <div>My Custom Component</div>; }

In Dev Portal Configuration you will need to import the component and add it to the customComponents option in the configuration.

zudoku.config.ts
import MyCustomComponent from "./src/MyCustomComponent"; const config: ZudokuConfig = { // ... mdx: { components: { MyCustomComponent, }, }, // ... }; export default config;

JSX in Headings

JSX components in headings render in both the sidebar navigation and table of contents:

MDXCode
# My Page <Badge>New</Badge>

Components must be registered via mdx.components to work in headings.

Edit this page
Last modified on May 29, 2026
FrontmatterAdmonitions
On this page
  • Getting Started
  • Custom Components
  • JSX in Headings
React
TypeScript