mirror of
https://github.com/fenom-template/fenom.git
synced 2023-08-10 21:13:07 +03:00
Update syntax.md
This commit is contained in:
parent
947546c468
commit
ac4ccd0fca
@ -302,14 +302,15 @@ Outputs
|
|||||||
|
|
||||||
| name | code | type | description |
|
| name | code | type | description |
|
||||||
| ------- | ---- | ----- | ------------ |
|
| ------- | ---- | ----- | ------------ |
|
||||||
| strip | s | block | |
|
| strip | s | block | remove any multi-whitespaces |
|
||||||
| ltrim | l | any | |
|
| ltrim | l | any | remove spaces left of the tag |
|
||||||
| rtrim | r | any | |
|
| rtrim | r | any | remove spaces right of the tag |
|
||||||
| trim | t | any | |
|
| trim | t | any | remove spaces near tag |
|
||||||
| raw | a | any | |
|
| raw | a | any | ignore escape option |
|
||||||
| escape | e | any | |
|
| escape | e | any | force escape |
|
||||||
| ignore | i | block | |
|
| ignore | i | block | ignore Fenom syntax |
|
||||||
|
|
||||||
```smarty
|
```smarty
|
||||||
{script:ignore} ... {/script}
|
{script:ignore} ... {/script}
|
||||||
```
|
{foreach:ignore:strip ...} ... {/foreach}
|
||||||
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user