mirror of
https://github.com/kemko/liquid.git
synced 2026-01-04 01:05:40 +03:00
Document downcase
This commit is contained in:
11
_filters/downcase.md
Normal file
11
_filters/downcase.md
Normal file
@@ -0,0 +1,11 @@
|
||||
---
|
||||
title: downcase
|
||||
---
|
||||
|
||||
This filter makes the entire input string the lower case version of each character within.
|
||||
|
||||
| Code | Output |
|
||||
|-------------------------------------------------------:|:-----------------|
|
||||
| {% raw %}`{{ "Peter Parker" | downcase }}`{% endraw %} | `"peter parker"` |
|
||||
|
||||
It doesn't modify strings which are already entirely lowercase. It works with anything that has a `#to_s` method.
|
||||
Reference in New Issue
Block a user