mirror of
https://github.com/askama-rs/askama.git
synced 2025-10-03 15:55:31 +00:00
There's no mention of name afterwards
This commit is contained in:
parent
9de9af4a00
commit
31e9ed52be
@ -116,7 +116,7 @@ path = "::tex_escape::Tex"
|
|||||||
extensions = ["tex"]
|
extensions = ["tex"]
|
||||||
```
|
```
|
||||||
|
|
||||||
An escaper block consists of the attributes `path` and `name`. `path`
|
An escaper block consists of the attributes `path` and `extensions`. `path`
|
||||||
contains a Rust identifier that must be in scope for templates using this
|
contains a Rust identifier that must be in scope for templates using this
|
||||||
escaper. `extensions` defines a list of file extensions that will trigger
|
escaper. `extensions` defines a list of file extensions that will trigger
|
||||||
the use of that escaper. Extensions are matched in order, starting with the
|
the use of that escaper. Extensions are matched in order, starting with the
|
||||||
|
Loading…
x
Reference in New Issue
Block a user