Document downcase

This commit is contained in:
Parker Moore
2015-03-13 16:32:16 -07:00
parent adff96b4cf
commit f21311b946

11
_filters/downcase.md Normal file
View 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.