md2d.parser

Undocumented in source.

Members

Enums

BlockType
enum BlockType
Undocumented in source.
IndentType
enum IndentType
Undocumented in source.
LineType
enum LineType
Undocumented in source.
MarkdownFlags
enum MarkdownFlags
Undocumented in source.

Functions

getHtmlTagName
string getHtmlTagName(string ln)
Undocumented in source. Be warned that the author may not have intended to support it.
getMarkdownOutline
Section[] getMarkdownOutline(string md_source, MarkdownSettings settings)

Returns the hierarchy of sections

isHtmlBlockCloseLine
bool isHtmlBlockCloseLine(string ln)
Undocumented in source. Be warned that the author may not have intended to support it.
isHtmlBlockLine
bool isHtmlBlockLine(string ln)
Undocumented in source. Be warned that the author may not have intended to support it.
matchesIndent
bool matchesIndent(IndentType[] indent, IndentType[] base_indent)
Undocumented in source. Be warned that the author may not have intended to support it.
parseBlocks
void parseBlocks(Block root, Line[] lines, IndentType[] base_indent, MarkdownSettings settings)
Undocumented in source. Be warned that the author may not have intended to support it.
parseEmphasis
int parseEmphasis(string str, string text)
Undocumented in source. Be warned that the author may not have intended to support it.
parseHtmlBlockLine
auto parseHtmlBlockLine(string ln)
Undocumented in source. Be warned that the author may not have intended to support it.
parseInlineCode
bool parseInlineCode(string str, string code)
Undocumented in source. Be warned that the author may not have intended to support it.
parseLines
Line[] parseLines(string[] lines, MarkdownSettings settings)
Undocumented in source. Be warned that the author may not have intended to support it.
removeListPrefix
string removeListPrefix(string str, LineType tp)
Undocumented in source. Be warned that the author may not have intended to support it.
skipText
string[] skipText(Line[] lines, IndentType[] indent)
Undocumented in source. Be warned that the author may not have intended to support it.
splitTableRow
Block splitTableRow(Line line)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

Block
struct Block
Undocumented in source.
HtmlBlockInfo
struct HtmlBlockInfo
Undocumented in source.
Line
struct Line
Undocumented in source.
MarkdownSettings
struct MarkdownSettings
Undocumented in source.
Section
struct Section
Undocumented in source.

Variables

BlockTags
auto BlockTags;
Undocumented in source.

Meta