Highlight Nim default in Markdown code in .nim (#20110)

Highlight Nim by default in Markdown code in .nim
This commit is contained in:
Andrey Makarov 2022-07-31 16:38:00 +03:00 • committed by GitHub
commit 40e0048a50
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 28 additions and 13 deletions

View file

@ -474,7 +474,12 @@ suite "RST parsing":
let expectCodeBlock = dedent"""
rnCodeBlock
[nil]
[nil]
rnFieldList
rnField
rnFieldName
rnLeaf 'default-language'
rnFieldBody
rnLeaf 'Nim'
rnLiteralBlock
rnLeaf '
let a = 1