--- title: 콘텐츠 렌더링 description: Markdown, 수식, Mermaid 다이어그램을 한 화면에 — 일반적인 어시스턴트/문서 출력. --- # 콘텐츠 렌더링 어시스턴트·문서 페이지는 한 열에 본문, 수식, 다이어그램을 섞는 경우가 많습니다. [`r-markdown`](../ranui/markdown/) parses and sanitizes Markdown, delegates fenced `mermaid` blocks to [`r-mermaid`](../ranui/mermaid/), and `$…$` / `$$…$$` to [`r-math`](../ranui/math/). You usually mount one markdown element per message row inside [`r-conversation`](../ranui/conversation/); this example shows the render stack alone. During streaming, set the `content` property on `r-markdown` (not the attribute) so token updates do not re-parse unchanged blocks. For chat wiring, see [Build AI chat](../ranui/ai-chat/). ## References - [Markdown](../ranui/markdown/) — streaming mode, code highlight, copy control - [Math](../ranui/math/) — Temml rendering - [Mermaid](../ranui/mermaid/) — lazy diagram load