docs: fix styles and escape

This commit is contained in:
Yang Jun
2024-08-20 03:35:37 +08:00
parent b1f0260dcb
commit 5b1658c823
6 changed files with 11 additions and 7 deletions
+1 -1
View File
@@ -92,7 +92,7 @@ engine.registerTag('random', {
})
```
Rendering `{% random from:2, to:max %}` in scope `{ max: 10 }` will generate a random number in the range [2, 10]. See this JSFiddle: <https://jsfiddle.net/ctj364up/4/>
Rendering `{% raw %}{% random from:2, to:max %}{% endraw %}` in scope `{ max: 10 }` will generate a random number in the range [2, 10]. See this JSFiddle: <https://jsfiddle.net/ctj364up/4/>
[register-tags]: /tutorials/register-filters-tags.html