summary refs log tree commit diff stats
path: root/doc
diff options
context:
space:
mode:
authorTimothee Cour <timothee.cour2@gmail.com>2021-04-23 04:51:24 -0700
committerGitHub <noreply@github.com>2021-04-23 13:51:24 +0200
commit3516f57e172cef22f583f43c7b16fd1f63921c6e (patch)
treeccd37b4eaea40c33fa627c1012ec11f34a18c6df /doc
parent511b6d2449c65cecc68eccbee1385e02758f0fd4 (diff)
downloadNim-3516f57e172cef22f583f43c7b16fd1f63921c6e.tar.gz
manual: fix rendering of `Identifiers & Keywords` [skip ci] (#17811)
Diffstat (limited to 'doc')
-rw-r--r--doc/manual.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/manual.rst b/doc/manual.rst
index 15242cf7c..e98a0cc09 100644
--- a/doc/manual.rst
+++ b/doc/manual.rst
@@ -261,8 +261,9 @@ and underscores, with the following restrictions:
 
 * begins with a letter
 * does not end with an underscore `_`
-* two immediate following underscores `__` are not allowed::
+* two immediate following underscores `__` are not allowed:
 
+.. code-block::
   letter ::= 'A'..'Z' | 'a'..'z' | '\x80'..'\xff'
   digit ::= '0'..'9'
   IDENTIFIER ::= letter ( ['_'] (letter | digit) )*