mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-13 19:06:40 +00:00
Update doc for consistency.
This commit is contained in:
+2
-2
@@ -74,9 +74,9 @@ extension point to use. And you can use it anywhere an expression is accepted:
|
||||
|
||||
.. code-block:: jinja
|
||||
|
||||
{{ 'some text' ~ ipsum(40) ~ 'some more text' }}
|
||||
{{ 'some text' ~ lipsum(40) ~ 'some more text' }}
|
||||
|
||||
{% set ipsum = ipsum(40) %}
|
||||
{% set lipsum = lipsum(40) %}
|
||||
|
||||
Last but not the least, you can also use a *global* object with a method able
|
||||
to generate lorem ipsum text:
|
||||
|
||||
Reference in New Issue
Block a user