Callouts
Before (DocFx):<Tip>, <Warning>, and <Danger>.
Includes
Before (DocFx):Code snippets
Before (DocFx range include):.md or .mdx sample file.
Tabs
Before (DocFx):Expand/collapse sections
Before:Video embeds
Before:Links between docs pages
- Use
/in paths. - Remove
.mdand.mdxfrom link targets. - Use relative links inside the same topic.
- Use root-relative links only when crossing topic or language boundaries.
Anchors
Preferred on headings:<a id="..."></a> only when anchoring non-heading content.
Xref links
Before:Forms
Before:.md vs .mdx
Use.mdx whenever the page contains:
- component tags such as
<Note>,<Tabs>, or<Accordion> import ... from ...
.md for plain markdown-only content.
Frontmatter essentials
Keep frontmatter complete and current:uidtitledescriptionkeywordsauthordatecontent_typelanguage
Stop doing this
- Don’t use DocFx callout, include, tab, or code-include syntax.
- Don’t link to
.mdor.mdxfiles directly. - Don’t use
xref. - Don’t rely on HTML comments for lint suppression in MDX.
- Don’t use page-relative image paths; use root-relative
/media/loc/...paths.