Skip to content
Myr

use double ticks for code in rst

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Lord · committed by David Lord · parent bd50d12 · Browse files · 1 file+5 added−5 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+5 added−5 removed

  • other:+5 added−5 removed

1 file+5 added−5 removed

modified:jinja2/environment.py+5 added-5 removed
165 unmodified lines
166 as strings or extension classes. For more information have a167 look at :ref:`the extensions documentation <jinja-extensions>`.168169 `optimized`170 should the optimizer be enabled? Default is `True`.170 should the optimizer be enabled? Default is ``True``.171172 `undefined`173 :class:`Undefined` or a subclass of it that is used to represent174 undefined values in the template.175176 `finalize`177 A callable that can be used to process the result of a variable178 expression before it is output. For example one can convert179 `None` implicitly into an empty string here.179 ``None`` implicitly into an empty string here.180181 `autoescape`182 If set to `True` the XML/HTML autoescaping feature is enabled by182 If set to ``True`` the XML/HTML autoescaping feature is enabled by183 default. For more details about autoescaping see184 :class:`~jinja2.utils.Markup`. As of Jinja 2.4 this can also185 be a callable that is passed the template name and has to186 return `True` or `False` depending on autoescape should be186 return ``True`` or ``False`` depending on autoescape should be187 enabled by default.188189 .. versionchanged:: 2.4190 `autoescape` can now be a function
13 unmodified lines
204205 `auto_reload`206 Some loaders load templates from locations where the template207 sources may change (ie: file system or database). If208 `auto_reload` is set to `True` (default) every time a template is208 ``auto_reload`` is set to ``True`` (default) every time a template is209 requested the loader checks if the source changed and if yes, it210 will reload the template. For higher performance it's possible to211 disable that.212
1001 unmodified lines