Skip to content

Commit d502ef6

Browse files
committed
docs: use source code for plugin example
1 parent d8be763 commit d502ef6

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

user_guide_src/source/outgoing/view_parser.rst

+13-13
Original file line numberDiff line numberDiff line change
@@ -464,23 +464,23 @@ Provided Plugins
464464

465465
The following plugins are available when using the parser:
466466

467-
================== ========================= ============================================ ================================================================
467+
================== ========================= ============================================ ===================================================================
468468
Plugin Arguments Description Example
469-
================== ========================= ============================================ ================================================================
470-
current_url Alias for the current_url helper function. {+ current_url +}
471-
previous_url Alias for the previous_url helper function. {+ previous_url +}
472-
siteURL Alias for the site_url helper function. {+ siteURL "login" +}
473-
mailto email, title, attributes Alias for the mailto helper function. {+ mailto [email protected] title="Stranger Things" +}
474-
safe_mailto email, title, attributes Alias for the safe_mailto helper function. {+ safe_mailto [email protected] title="Stranger Things" +}
475-
lang language string Alias for the lang helper function. {+ lang number.terabyteAbbr +}
476-
validation_errors fieldname(optional) Returns either error string for the field {+ validation_errors +} , {+ validation_errors field="email" +}
469+
================== ========================= ============================================ ===================================================================
470+
current_url Alias for the current_url helper function. ``{+ current_url +}``
471+
previous_url Alias for the previous_url helper function. ``{+ previous_url +}``
472+
siteURL Alias for the site_url helper function. ``{+ siteURL "login" +}``
473+
mailto email, title, attributes Alias for the mailto helper function. ``{+ mailto [email protected] title="Stranger Things" +}``
474+
safe_mailto email, title, attributes Alias for the safe_mailto helper function. ``{+ safe_mailto [email protected] title="Stranger Things" +}``
475+
lang language string Alias for the lang helper function. ``{+ lang number.terabyteAbbr +}``
476+
validation_errors fieldname(optional) Returns either error string for the field ``{+ validation_errors +} , {+ validation_errors field="email" +}``
477477
(if specified) or all validation errors.
478-
route route name Alias for the route_to helper function. {+ route "login" +}
479-
csp_script_nonce Alias for the csp_script_nonce helper {+ csp_script_nonce +}
478+
route route name Alias for the route_to helper function. ``{+ route "login" +}``
479+
csp_script_nonce Alias for the csp_script_nonce helper ``{+ csp_script_nonce +}``
480480
function.
481-
csp_style_nonce Alias for the csp_style_nonce helper {+ csp_style_nonce +}
481+
csp_style_nonce Alias for the csp_style_nonce helper ``{+ csp_style_nonce +}``
482482
function.
483-
================== ========================= ============================================ ================================================================
483+
================== ========================= ============================================ ===================================================================
484484

485485
Registering a Plugin
486486
--------------------

0 commit comments

Comments
 (0)