A two-phase recursive Markdown parser: block-level tokenization followed by inline parsing. Nested constructs (lists inside lists, block quotes containing lists/headers, tables with inline formatting) are handled naturally through recursion instead of the previous flat, document-wide regular expression replacement pipeline.
MarkdownParser
01 Syntax
Microsoft.VisualBasic.MIME.text.markdown.MarkdownParser
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| Parse | 1 | Parse a full markdown document into the target format (html by default). |
| IsBlockStart | 1 | Detect whether the line at i starts a new block so that paragraph collection can stop before it. |
| TightenListItem | 1 | For a single-paragraph list item, drop the wrapping <p> tag so that tight lists are rendered without unnecessary paragraph elements. |
03 Members
Parse(
String)Parse a full markdown document into the target format (html by default).
IsBlockStart(
String, String(), Int32)Detect whether the line at i starts a new block so that paragraph collection can stop before it.
TightenListItem(
String)For a single-paragraph list item, drop the wrapping <p> tag so that tight lists are rendered without unnecessary paragraph elements.