[docs minor]space for code-block (#16266)
* [docs minor]space for code-block * correct more errors * to runnableExamples * add newline
This commit is contained in:
parent
48d7c40553
commit
1e320bc8c5
4 changed files with 9 additions and 13 deletions
|
|
@ -222,9 +222,9 @@ proc getNamedParamFromList*(list: PNode, ident: PIdent): PSym =
|
|||
## gensym'ed and then they have '\`<number>' suffix that we need to
|
||||
## ignore, see compiler / evaltempl.nim, snippet:
|
||||
##
|
||||
##..code-block:: nim
|
||||
## .. code-block:: nim
|
||||
##
|
||||
## result.add newIdentNode(getIdent(c.ic, x.name.s & "\`gensym" & $x.id),
|
||||
## result.add newIdentNode(getIdent(c.ic, x.name.s & "\`gensym" & $x.id),
|
||||
## if c.instLines: actual.info else: templ.info)
|
||||
for i in 1..<list.len:
|
||||
let it = list[i].sym
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue