Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add usage example to filters docs

  • Loading branch information...
commit 223256b9443c4953c287d82b4c728a0a5704457c 1 parent 6df3fe5
@paularmstrong authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 docs/filters.md
View
4 docs/filters.md
@@ -2,6 +2,10 @@
Used to modify variables. Filters are added directly after variable names, separated by the pipe (|) character. You can chain multiple filters together, applying one after the other in succession.
+## Example
+
+ {{ name|title }} was born on {{ birthday|date('F jS, Y') }} and has {{ bikes|length|default("zero") }} bikes.
+
## Built-In Filters
### add(value)
Please sign in to comment.
Something went wrong with that request. Please try again.