Navigate Files
Browse and search your documentation pages using the navigation panel:- Browse: Click navigation elements to expand or collapse sections, then click pages to open them
- Search: Click the search icon or press
Cmd+K(macOS) /Ctrl+K(Windows) to search filenames and page content - Collapse sidebar: Click the hide sidebar button in the toolbar to give the editor more space
Create New Pages
Add pages to your documentation:- Click the plus button in the navigation element where you want to add the page
- Click Add a page
- Enter a filename (the
.mdxextension is added automatically)
Add Existing Files
If you have files in your repository that aren’t yet in navigation:- Click the plus button on the navigation element where you want to add the file
- Click Add existing file in the dropdown menu
- Select the file from your repository
Edit Content
Switch between visual and Markdown editing modes using the toggle in the toolbar. The editor automatically saves your work when switching modes.Visual Mode
Edit content with real-time previews that show how your pages will look when published. Text Formatting- Type directly to add text and see it rendered in real-time
- Use the toolbar to bold, italicize, or apply other formatting
- Select text and press
Cmd+Kto create links - Drag pages from the navigation tree into the editor to create links with the page title
/ to open the component menu and insert elements:
- Images: Type
/imageto upload or select an image - Videos: Type
/videoto add video content - Code blocks: Type
/codeto insert syntax-highlighted code - Callouts: Type
/note,/tip,/warning, or/infofor callout boxes - Embeds: Type
/embedto insert YouTube, Loom, or custom HTML embeds - Mermaid diagrams: Type
/mermaidfor interactive diagrams with zoom/pan controls - Snippets: Type
/snippetto insert reusable content (import statement added automatically) - Math equations: Type
/inline-mathor/block-mathfor LaTeX equations (requires enabling LaTeX) - Prompt blocks: Type
/promptfor AI prompt templates with copy actions
- Add or remove rows and columns
- Merge cells
- Adjust alignment
Markdown Mode
Edit the MDX source code directly for precise control:- Direct MDX editing: Write Markdown and MDX syntax manually
- Component properties: Set detailed component configurations and properties
- Frontmatter: Edit page metadata like title, description, and keywords
Configure Pages
Customize how pages appear in navigation, search results, and your site layout. Access page settings by hovering over a page and clicking the gear icon, or right-click a file and select Settings.Navigation Appearance
Control how the page displays in your site’s navigation sidebar:- Title: The main heading that appears in navigation, browser tabs, and search results
- Sidebar title: Shorter text for the navigation when the full title is too long
- Icon: Visual marker to help users identify the page quickly
- External URL: Link to an external site instead of a page (useful for adding external resources)
Search and SEO
Optimize how users find your page and how it appears when shared:- Description: Brief summary for search results and SEO meta tags
- Keywords: Relevant search terms to improve discoverability
- OG Image URL: Custom preview image for social media shares and link previews
Page Layout
Choose the layout that best fits your content:- Standard layout (
default): Default page with sidebar navigation and table of contents - Full-width layout (
wide): Hides table of contents for wider content like tables or diagrams - Centered layout (
center): Hides sidebar and TOC for better readability on text-heavy pages - Custom width (
custom): Minimal layout with only the top navbar for landing pages
Manage Pages
Move Pages
Drag and drop pages to reorder them in navigation or move files between folders. Changes to the navigation tree automatically update yourdocs.json configuration.
Rename Pages
Right-click a file and click Rename. Enter the new name—the editor preserves the.mdx extension automatically.
Duplicate Pages
Right-click a page and select Duplicate to create a copy.Delete Pages
Right-click a page and select Delete. Deleting a page removes it from navigation automatically.Hide Pages
To remove a page from navigation without deleting it:- Open page settings
- Enable the Hidden toggle
docs.json navigation.
Keyboard Shortcuts
Speed up your workflow with keyboard shortcuts:Cmd+K/Ctrl+K: Open search or create link/: Open component menu in visual modeCmd+S/Ctrl+S: Save changesCmd+B/Ctrl+B: Bold textCmd+I/Ctrl+I: Italic text