md2d.util

Members

Functions

allOf
bool allOf(S str, S chars)

Checks if all characters in 'str' are contained in 'chars'.

anyOf
bool anyOf(S str, S chars)

Checks if any character in 'str' is contained in 'chars'.

getQuoteLevel
size_t getQuoteLevel(const(char)[] ln)
Undocumented in source. Be warned that the author may not have intended to support it.
isAtxHeaderLine
bool isAtxHeaderLine(const(char)[] ln)
Undocumented in source. Be warned that the author may not have intended to support it.
isCodeBlockDelimiter
bool isCodeBlockDelimiter(char[] ln)
Undocumented in source. Be warned that the author may not have intended to support it.
isHlineLine
bool isHlineLine(char[] ln)
Undocumented in source. Be warned that the author may not have intended to support it.
isLineBlank
bool isLineBlank(char[] ln)
Undocumented in source. Be warned that the author may not have intended to support it.
isLineIndented
bool isLineIndented(char[] ln)
Undocumented in source. Be warned that the author may not have intended to support it.
isOListLine
bool isOListLine(const(char)[] ln)
Undocumented in source. Be warned that the author may not have intended to support it.
isQuoteLine
bool isQuoteLine(char[] ln)
Undocumented in source. Be warned that the author may not have intended to support it.
isSetextHeaderLine
bool isSetextHeaderLine(const(char)[] ln, char subHeaderChar)
Undocumented in source. Be warned that the author may not have intended to support it.
isTableRowLine
bool isTableRowLine(char[] ln)
Undocumented in source. Be warned that the author may not have intended to support it.
isUListLine
bool isUListLine(const(char)[] ln)
Undocumented in source. Be warned that the author may not have intended to support it.
matchBracket
ptrdiff_t matchBracket(string str, bool nested)

Finds the closing bracket (works with any of '[', '(', '<', '{').

unindentLine
auto unindentLine(char[] ln)
Undocumented in source. Be warned that the author may not have intended to support it.

Imports

asSlug (from tame.text.uri)
public import tame.text.uri : asSlug;
Undocumented in source.
to (from std.conv)
public import std.conv : to;
Undocumented in source.

Meta