mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-14 11:27:00 +00:00
minor #2058 Minor rst syntax tweaks (javiereguiluz)
This PR was merged into the 1.x branch.
Discussion
----------
Minor rst syntax tweaks
It looks like you can't show `<code>` inside italics with RST. This is how the current docs look when rendered:

Commits
-------
b42ddb3 Minor rst syntax tweaks
This commit is contained in:
+4
-4
@@ -78,16 +78,16 @@ The following options are available:
|
||||
``__toString()`` method that you can use to display the generated nodes
|
||||
(default to ``false``).
|
||||
|
||||
* ``charset`` *string (default to ``utf-8``)*
|
||||
* ``charset`` *string* (defaults to ``utf-8``)
|
||||
|
||||
The charset used by the templates.
|
||||
|
||||
* ``base_template_class`` *string (default to ``Twig_Template``)*
|
||||
* ``base_template_class`` *string* (defaults to ``Twig_Template``)
|
||||
|
||||
The base template class to use for generated
|
||||
templates.
|
||||
|
||||
* ``cache`` *string|false*
|
||||
* ``cache`` *string* or ``false``
|
||||
|
||||
An absolute path where to store the compiled templates, or
|
||||
``false`` to disable caching (which is the default).
|
||||
@@ -106,7 +106,7 @@ The following options are available:
|
||||
replace them with a ``null`` value. When set to ``true``, Twig throws an
|
||||
exception instead (default to ``false``).
|
||||
|
||||
* ``autoescape`` *string|boolean*
|
||||
* ``autoescape`` *string* or *boolean*
|
||||
|
||||
If set to ``true``, HTML auto-escaping will be enabled by
|
||||
default for all templates (default to ``true``).
|
||||
|
||||
Reference in New Issue
Block a user