Properties
4 minute read
ClosingMultiLineHtmlComment
- Type
- System.String
A regular expression string for finding the closing of a comment block and the text on either side of the closure. It has three capture groups:
InComments
for the text that is still inside the HTML comment before it closesCloseComment
for the syntax that closes the HTML commentAfterComment
for the text that follows the closing HTML comment syntax
HtmlCommentBlock
- Type
- System.String
A regular expression string for finding the opening of a comment block on a line and whether it closes on that line. It has three capture groups:
OpenComment
for the syntax that closes the HTML commentInComments
for the text that is inside the HTML commentCloseComment
for the syntax that closes the HTML comment
LineLead
- Type
- System.String
A regular expression string for finding the leading characters of a line of Markdown before the actual content. It has several capture groups:
Lead
for all of the characters before the first non-leading characterLeadingWhiteSpace
for all of the leading whitespace before any block notation or non-leading characterBlockNotation
for the list and block quote syntax and associated whitespace after leading whitespace and before the first non-leading characterBlockQuoteBefore
for the characters of zero or more block quote syntaxes after the leading whitespace and before any list notation or non-leading characterListNotation
for any list notation before the first non-leading characterOrderedList
for the list notation if it’s an ordered listUnorderedList
for the list notation if it’s an unordered listBlockQuoteAfter
for the characters of zero or more block quote syntaxes after all other leading syntaxes and before the first non-leading character
Link
- Type
- System.String
A regular expression for finding a Markdown link in a given line of text. It has several capture groups:
IsImage
- for the!
if the link is an image linkText
- for the text in square brackets that makes up the link text for text-kind links and the alt text for image-kind linksDestination
- for the URL that is the href for a text-kind link or source for an image-kind link if the syntax is an inline linkTitle
- for the optional title text inside quotes if the syntax is an inline linkReferenceID
- for the ID of the reference link definition if the syntax is using a reference link
LinkDefinition
- Type
- System.String
A regular expression for parsing the destination and title of a Markdown link or link reference definition. It has two capture groups:
Destination
for the URL that is the href for a text-kind link or source for an image-kind linkTitle
- for the optional title text inside quotes
LinkReferenceDefinition
- Type
- System.String
A regular expression for parsing a line of Markdown for a link reference definition. It has several capture groups:
Lead
for all of the characters before the first non-leading characterLeadingWhiteSpace
for all of the leading whitespace before any block notation or non-leading characterBlockNotation
for the list and block quote syntax and associated whitespace after leading whitespace and before the first non-leading characterBlockQuoteBefore
for the characters of zero or more block quote syntaxes after the leading whitespace and before any list notation or non-leading characterListNotation
for any list notation before the first non-leading characterOrderedList
for the list notation if it’s an ordered listUnorderedList
for the list notation if it’s an unordered listBlockQuoteAfter
for the characters of zero or more block quote syntaxes after all other leading syntaxes and before the first non-leading characterReferenceID
for the ID of the definition in square brackets that is used by referencing linksDestination
for the URL that is the href for a text-kind link or source for an image-kind linkTitle
- for the optional title text inside quotes
MultitickInlineCode
- Type
- System.String
A regular expression for finding text inside of two or more wrapping backticks and a space. The
Text
capture group contains all of the content inside the wrapping backticks.
OpenCodeFence
- Type
- System.String
A regular expression for finding the opening of a code fence in a line of Markdown. It has several capture groups:
Lead
for all of the characters before the first non-leading characterLeadingWhiteSpace
for all of the leading whitespace before any block notation or non-leading characterBlockNotation
for the list and block quote syntax and associated whitespace after leading whitespace and before the first non-leading characterBlockQuoteBefore
for the characters of zero or more block quote syntaxes after the leading whitespace and before any list notation or non-leading characterListNotation
for any list notation before the first non-leading characterOrderedList
for the list notation if it’s an ordered listUnorderedList
for the list notation if it’s an unordered listBlockQuoteAfter
for the characters of zero or more block quote syntaxes after all other leading syntaxes and before the first non-leading characterFence
for the characters that make up the fence opening syntax, which is three or more backticks (```
) or tildes (~~~
).