fn parse_indented_codeblock(line: &[Token]) -> MdBlockElement
Expand description
Parses an indented code block from a vector of tokens.
Note that CommonMark defines indented code blocks as lines that start with at least 4 spaces or
a tab. However, this implementation only focuses on tabs, the size of which is defined in
config.toml
.
§Arguments
line
- A vector of tokens representing an indented code block.
§Returns
An MdBlockElement::CodeBlock
containing the parsed code content.