RST: improve simple tables (#19859)
* RST: improve simple tables * nim 1.0 gotchas * Still allow legacy boundaries like `----`
This commit is contained in:
parent
f7a13f62d6
commit
4341b06f65
16 changed files with 487 additions and 120 deletions
|
|
@ -1185,9 +1185,9 @@ subranges) are called ordinal types. Ordinal types have quite
|
|||
a few special operations:
|
||||
|
||||
|
||||
----------------- --------------------------------------------------------
|
||||
================= ========================================================
|
||||
Operation Comment
|
||||
----------------- --------------------------------------------------------
|
||||
================= ========================================================
|
||||
`ord(x)` returns the integer value that is used to
|
||||
represent `x`'s value
|
||||
`inc(x)` increments `x` by one
|
||||
|
|
@ -1198,7 +1198,7 @@ Operation Comment
|
|||
`succ(x, n)` returns the `n`'th successor of `x`
|
||||
`pred(x)` returns the predecessor of `x`
|
||||
`pred(x, n)` returns the `n`'th predecessor of `x`
|
||||
----------------- --------------------------------------------------------
|
||||
================= ========================================================
|
||||
|
||||
|
||||
The `inc <system.html#inc,T,int>`_, `dec <system.html#dec,T,int>`_, `succ
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue