mirror of
https://github.com/nim-lang/Nim.git
synced 2026-07-22 00:41:28 +00:00
@@ -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 == "::":
|
||||
|
||||
Reference in New Issue
Block a user