MDX capabilities (reference)
Authoring note: This node is a capabilities reference for knowledge MDX. Every other node under
content/nodes/still uses placeholder copy for manual fill-in — do not treat this page as the template for real articles.
This node is intentionally not linked from hub connections so it does not add edges into topic clusters on the map. It still appears in the graph (category reference), is searchable (try “mdx-capabilities” or “InteractiveCodeSandbox”), and opens at /knowledge/mdx-capabilities.
Standard markdown
Paragraph with strong, emphasis, and an external link. Inline code sits beside a fenced block:
const slugFromPath = (filePath: string) =>
filePath
.replace(/\.mdx$/, "")
.split("/")
.pop() ?? "";
Unordered list:
- Frontmatter:
id,label,category, optionalconnections,updatedAt - Body: markdown plus custom components from
createMdxComponents
Ordered steps:
- Add or edit
.mdxundercontent/nodes/<folder>/. - Run
pnpm --filter janmatl-web check:knowledge. - Open the node on
/knowledgeor/knowledge/<slug>.
Blockquotes render as native
<blockquote>elements (no dedicated MUI override inmdxElementOverrides).
Heading level three
Smaller section headings use h3 styling via the shared MDX element map.
Custom components
InteractiveCodeSandbox
ArchitectureDiagram
content/nodes/**/*.mdx → getNodeContent / API → NodeMdx or
NodeMdxClient with createMdxComponents() (includes
InteractiveCodeSandbox, ArchitectureDiagram, and typography overrides).