parent
4ec5cbac0d
commit
496e9f74e1
1 changed files with 2 additions and 0 deletions
|
|
@ -1102,6 +1102,8 @@ proc whichSection(p: RstParser): RstNodeKind =
|
|||
of tkPunct:
|
||||
if isMarkdownHeadline(p):
|
||||
result = rnHeadline
|
||||
elif p.tok[p.idx].symbol == "```":
|
||||
result = rnCodeBlock
|
||||
elif match(p, tokenAfterNewline(p), "ai"):
|
||||
result = rnHeadline
|
||||
elif p.tok[p.idx].symbol == "::":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue