docgen: support markdown link syntax; enable markdown extensions
This commit is contained in:
parent
c3d80647ae
commit
5ef5dc86c5
6 changed files with 37 additions and 4 deletions
|
|
@ -89,6 +89,9 @@ proc lastSon*(n: PRstNode): PRstNode =
|
|||
proc add*(father, son: PRstNode) =
|
||||
add(father.sons, son)
|
||||
|
||||
proc add*(father: PRstNode; s: string) =
|
||||
add(father.sons, newRstNode(rnLeaf, s))
|
||||
|
||||
proc addIfNotNil*(father, son: PRstNode) =
|
||||
if son != nil: add(father, son)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue