Format Text
Write most pages in plain Markdown first. Because Radiant Docs uses MDX, you can keep standard Markdown syntax for text and only reach for components when you need richer UI.
Bold, italics, underline, strokethrough, inline code.
Create a link to another docs page or an external link.
This is a blockquote.
Headers
Page titles
Set the main page title in frontmatter when you want full control over the page heading.
Radiant Docs resolves the rendered page title in this order:
titlein the page frontmattertitleon the page entry indocs.json- A title derived from the MDX file name:
format-text.mdx-> Format Text.
Section headings and subheadings
For headings inside the page body, start with ##. Use ### for subsections.
Use short paragraphs under each heading.
Add a subsection when the section needs one more level.
Emphasis
Use emphasis to help readers scan, not to decorate every sentence.
Use bold for strong emphasis.
Use italics for light emphasis.
Use underlined text when you need underline.
Use strikethrough for removed or outdated text.
Use inline code for commands, file names, and identifiers.
Combine emphasis styles
You can combine emphasis styles too.
Bold italics
underlined italics
underlined bold
strikethrough bold
Links
Use standard Markdown links for both internal and external destinations.
Internal links
Use internal links for pages within your docs site.
External links
Use external links for resources outside your docs site.
Prefer descriptive link text. Avoid vague phrases like click here or read more.
Blockquotes
Use blockquotes for quoted text or a short aside that should stand apart from the main paragraph flow.
Preview your page locally before you commit it.
Keep blockquotes short. If the content is an instruction or warning, a component such as <Callout /> is usually clearer.
Show JSX or HTML as text
MDX treats angle brackets as JSX, so literal HTML or component names need escaping.
You can write <Component title="Example"> with backticks (``) to display
as inline code or write <Component title="Example" /> with
{curly brackets} + "quotation marks" to display as regular text.
Use this whenever you are writing about a component or html instead of rendering it.