aboutsummaryrefslogtreecommitdiff
path: root/doc/sphinx
diff options
context:
space:
mode:
authorLi-yao Xia2020-11-15 11:44:29 -0500
committerLi-yao Xia2020-11-15 11:44:29 -0500
commit5ec45d7206688da51ea325ab8692566e403808d8 (patch)
treea073202d88ba36cdf4b4ec44c251919f1b14372f /doc/sphinx
parent93ee64000d4e121718b4735468626b481b2533bc (diff)
parent696df507b58800a7a6b52741fd4ed859aff7b1c3 (diff)
Merge PR #13308: Address #13304: in coqdoc, clearly distinguish block verbatim from inline verbatim
Reviewed-by: Lysxia
Diffstat (limited to 'doc/sphinx')
-rw-r--r--doc/sphinx/using/tools/coqdoc.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/sphinx/using/tools/coqdoc.rst b/doc/sphinx/using/tools/coqdoc.rst
index 7ab8f9d763..b68b2ed2a7 100644
--- a/doc/sphinx/using/tools/coqdoc.rst
+++ b/doc/sphinx/using/tools/coqdoc.rst
@@ -200,6 +200,14 @@ at the beginning of a line.
if n <= 1 then 1 else n * fact (n-1)
>>
+Verbatim material on a single line is also possible (assuming that
+``>>`` is not part of the text to be presented as verbatim).
+
+.. example::
+
+ ::
+
+ Here is the corresponding caml expression: << fact (n-1) >>
Hyperlinks