aboutsummaryrefslogtreecommitdiff
path: root/docs/pages/2-basic/5-renderer.md
diff options
context:
space:
mode:
authorWeicao-CatilGrass <1992414357@qq.com>2026-04-24 17:22:12 +0800
committerWeicao-CatilGrass <1992414357@qq.com>2026-04-24 17:22:12 +0800
commita1a63b235353dc999119eaf7bb4bfc78f6e660a9 (patch)
tree15b0716fec535e6c4992f7e1e5c9b02f9110af69 /docs/pages/2-basic/5-renderer.md
parent57c1fca2687ae34b92364da8ea9fa1837d900374 (diff)
Add docsify flexible alerts plugin and update callout syntax
Diffstat (limited to 'docs/pages/2-basic/5-renderer.md')
-rw-r--r--docs/pages/2-basic/5-renderer.md3
1 files changed, 1 insertions, 2 deletions
diff --git a/docs/pages/2-basic/5-renderer.md b/docs/pages/2-basic/5-renderer.md
index 2dc7e27..2085d40 100644
--- a/docs/pages/2-basic/5-renderer.md
+++ b/docs/pages/2-basic/5-renderer.md
@@ -44,8 +44,7 @@ fn render_hello(prev: ParsedHello) {
}
```
-> **About r_print**
->
+> [!Tip]
> `r_print!` can only be used inside a `Renderer`. This is because after the `renderer!` macro expands, it injects `r: &mut RenderResult` into the context.
>
> And `r_print!` directly writes content to the value `r`.