Components
Overview
The rich content blocks the OpenKnowledge editor understands — callouts, media, math, mermaid diagrams, accordions, tabs, and transclusion.
OpenKnowledge documents are plain markdown, plus a small set of rich content blocks the editor understands out of the box — callouts, media, math, mermaid diagrams, accordions, tabs, and transclusion. Type / in the editor to insert one from the slash menu, or write it directly in source mode.
Every block on this page uses the same tag syntax in the raw markdown file:
<Callout type="tip" title="Nice">
Prose or nested markdown lives in the body.
</Callout>Content
- Callout — alerts and admonitions with 15 type variants
- Accordion — collapsible sections
- Tabs — grouped panel switcher (with
<Tab>children) - Math — KaTeX-rendered inline or block equations
- MermaidFence — diagrams from a
```mermaidfence
Media
- img — image with click-to-zoom
- video — video player
- audio — audio player
- Pdf — embedded multi-page PDF viewer
- File — inline download row for arbitrary attachments
- Embed — sandboxed iframe for external URLs
Transclusion
- Mirror — read-only view of a
<MirrorSource>block from another doc