Skip to content

Commit 0519177

Browse files
committed
docs: decorate variables with '``'
1 parent 0705c53 commit 0519177

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

user_guide_src/source/helpers/html_helper.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ The following functions are available:
2727
.. php:function:: img([$src = ''[, $indexPage = false[, $attributes = '']]])
2828
2929
:param string|array $src: Image source URI, or array of attributes and values
30-
:param bool $indexPage: Whether to treat $src as a routed URI string
30+
:param bool $indexPage: Whether to treat ``$src`` as a routed URI string
3131
:param mixed $attributes: Additional HTML attributes
3232
:returns: HTML image tag
3333
:rtype: string
@@ -83,7 +83,7 @@ The following functions are available:
8383

8484
$src = img_data('path/img_without_extension', 'image/png'); // data:image/png;base64,HT5A822...
8585

86-
Note that $path must exist and be a readable image format supported by the ``data:`` protocol.
86+
Note that ``$path`` must exist and be a readable image format supported by the ``data:`` protocol.
8787
This function is not recommended for very large files, but it provides a convenient way
8888
of serving images from your app that are not web-accessible (e.g., in **public/**).
8989

@@ -94,7 +94,7 @@ The following functions are available:
9494
:param string $type: Type of the related document
9595
:param string $title: Link title
9696
:param string $media: Media type
97-
:param bool $indexPage: Whether to treat $src as a routed URI string
97+
:param bool $indexPage: Whether to treat ``$src`` as a routed URI string
9898
:param string $hreflang: Hreflang type
9999
:returns: HTML link tag
100100
:rtype: string
@@ -135,7 +135,7 @@ The following functions are available:
135135
.. php:function:: script_tag([$src = ''[, $indexPage = false]])
136136
137137
:param mixed $src: The source name of a JavaScript file
138-
:param bool $indexPage: Whether to treat $src as a routed URI string
138+
:param bool $indexPage: Whether to treat ``$src`` as a routed URI string
139139
:returns: HTML script tag
140140
:rtype: string
141141

0 commit comments

Comments
 (0)