mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-21 07:37:43 +00:00
refactored documentation
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
``capitalize``
|
||||
==============
|
||||
|
||||
The ``capitalize`` filter capitalizes a value. The first character will be
|
||||
uppercase, all others lowercase:
|
||||
|
||||
.. code-block:: jinja
|
||||
|
||||
{{ 'my first car'|capitalize }}
|
||||
|
||||
{# outputs 'My first car' #}
|
||||
Reference in New Issue
Block a user