diff --git a/docs/template.md b/docs/template.md index aee92af..656a5cc 100644 --- a/docs/template.md +++ b/docs/template.md @@ -73,21 +73,15 @@ Murph has somes twig functions to manage URLs: ### Generic functions -* Same as [twig url](https://symfony.com/doc/current/reference/twig_reference.html#url) but catches all exceptions: - `{{ safe_url(routeName, options, relative) }}`: same as [twig url](https://symfony.com/doc/current/reference/twig_reference.html#url) but catches all exceptions -* Same as [twig url](https://symfony.com/doc/current/reference/twig_reference.html#path) but catches all exceptions: - `{{ safe_path(routeName, options, relative) }}` +* Same as [twig url](https://symfony.com/doc/current/reference/twig_reference.html#url) but catches all exceptions: `{{ safe_url(routeName, options, relative) }}` +* Same as [twig path](https://symfony.com/doc/current/reference/twig_reference.html#path) but catches all exceptions: `{{ safe_path(routeName, options, relative) }}` ### Node functions -* Generates a URL using a node: - `{{ node_url(node, options, relative) }}` -* Generates a path using a node: - `{{ node_path(node, options, relative) }}` -* Generates a URL using a node and catches all exceptions: - `{{ safe_node_url(node, options, relative) }}` -* Generates a path using a node and catches all exceptions: - `{{ safe_node_path(node, options, relative) }}` +* Generates a URL using a node: `{{ node_url(node, options, relative) }}` +* Generates a path using a node: `{{ node_path(node, options, relative) }}` +* Generates a URL using a node and catches all exceptions: `{{ safe_node_url(node, options, relative) }}` +* Generates a path using a node and catches all exceptions: `{{ safe_node_path(node, options, relative) }}` ### Filters