Update README
This commit is contained in:
@@ -223,7 +223,7 @@ let fruit = ["Orange", "Apple"]
|
||||
|
||||
<ul>
|
||||
\for item in fruit:
|
||||
<li>\fruit</li>
|
||||
<li>\item</li>
|
||||
</ul>
|
||||
</p>
|
||||
```
|
||||
@@ -243,6 +243,14 @@ let navigator =
|
||||
</nav>
|
||||
```
|
||||
|
||||
### HTML escaping
|
||||
|
||||
If you want to ascape any value to avoid rendering dynamic data as HTML elements, you can use the `escape` operator
|
||||
|
||||
```
|
||||
escape(<p>Hello, world!</p>)
|
||||
```
|
||||
|
||||
### File inclusion
|
||||
|
||||
You can include files using the `include` keyword.
|
||||
|
||||
Reference in New Issue
Block a user