block: extend parse_code_block
This commit is contained in:
parent
c21138d5b9
commit
8d1381144e
1 changed files with 5 additions and 0 deletions
|
@ -1554,6 +1554,11 @@ mod test {
|
|||
(Inline, " block\n"),
|
||||
(Exit(Leaf(CodeBlock { language: "" })), ""),
|
||||
);
|
||||
test_parse!(
|
||||
" ```abc\n",
|
||||
(Enter(Leaf(CodeBlock { language: "abc" })), "abc"),
|
||||
(Exit(Leaf(CodeBlock { language: "abc" })), "abc"),
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
Loading…
Reference in a new issue