diff options
| author | Li-yao Xia | 2020-11-15 11:44:29 -0500 |
|---|---|---|
| committer | Li-yao Xia | 2020-11-15 11:44:29 -0500 |
| commit | 5ec45d7206688da51ea325ab8692566e403808d8 (patch) | |
| tree | a073202d88ba36cdf4b4ec44c251919f1b14372f /doc/sphinx | |
| parent | 93ee64000d4e121718b4735468626b481b2533bc (diff) | |
| parent | 696df507b58800a7a6b52741fd4ed859aff7b1c3 (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.rst | 8 |
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 |
