Skip to content
Snippets Groups Projects
Commit 6db47740 authored by Yuya Nishihara's avatar Yuya Nishihara
Browse files

help: update template examples to use reST literal syntax

This should prevent processing backslashes as reST syntax elements. Before
this patch, '\' was lost in HTML and man pages.
parent 89003c49
No related branches found
No related tags found
No related merge requests found
......@@ -43,5 +43,5 @@
.. functionsmarker
Also, for any expression that returns a list, there is a list operator:
Also, for any expression that returns a list, there is a list operator::
......@@ -47,3 +47,3 @@
- expr % "{template}"
expr % "{template}"
......@@ -49,7 +49,7 @@
As seen in the above example, "{template}" is interpreted as a template.
To prevent it from being interpreted, you can use an escape character "\{"
or a raw string prefix, "r'...'".
As seen in the above example, ``{template}`` is interpreted as a template.
To prevent it from being interpreted, you can use an escape character ``\{``
or a raw string prefix, ``r'...'``.
Some sample command line templates:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment