Skip to content

Commit 7b9aee9

Browse files
committed
minor #4618 fix: update extension references in docs to use backticks (smnandre)
This PR was merged into the 3.x branch. Discussion ---------- fix: update extension references in docs to use backticks Commits ------- 239a060 fix: update extension references in docs to use backticks
2 parents 95596ce + 239a060 commit 7b9aee9

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Diff for: doc/api.rst

+7-7
Original file line numberDiff line numberDiff line change
@@ -327,23 +327,23 @@ extension via the ``addExtension()`` method::
327327

328328
Twig comes bundled with the following extensions:
329329

330-
* *Twig\Extension\CoreExtension*: Defines all the core features of Twig.
330+
* ``\Twig\Extension\CoreExtension``: Defines all the core features of Twig.
331331

332-
* *Twig\Extension\DebugExtension*: Defines the ``dump`` function to help debug
332+
* ``\Twig\Extension\DebugExtension``: Defines the ``dump`` function to help debug
333333
template variables.
334334

335-
* *Twig\Extension\EscaperExtension*: Adds automatic output-escaping and the
335+
* ``\Twig\Extension\EscaperExtension``: Adds automatic output-escaping and the
336336
possibility to escape/unescape blocks of code.
337337

338-
* *Twig\Extension\SandboxExtension*: Adds a sandbox mode to the default Twig
338+
* ``\Twig\Extension\SandboxExtension``: Adds a sandbox mode to the default Twig
339339
environment, making it safe to evaluate untrusted code.
340340

341-
* *Twig\Extension\ProfilerExtension*: Enables the built-in Twig profiler.
341+
* ``\Twig\Extension\ProfilerExtension``: Enables the built-in Twig profiler.
342342

343-
* *Twig\Extension\OptimizerExtension*: Optimizes the node tree before
343+
* ``\Twig\Extension\OptimizerExtension``: Optimizes the node tree before
344344
compilation.
345345

346-
* *Twig\Extension\StringLoaderExtension*: Defines the ``template_from_string``
346+
* ``\Twig\Extension\StringLoaderExtension``: Defines the ``template_from_string``
347347
function to allow loading templates from string in a template.
348348

349349
The Core, Escaper, and Optimizer extensions are registered by default.

0 commit comments

Comments
 (0)