--- 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