Properties
Methods
IsChapterHeaderLine
#Test whether a line represents a chapter header underline. Chapter header underlines contain at least 4 consecutive equals symbols preceded or followed by any amount of white space.
Parameters:
| line (string) | Line to test. |
Returns: True if the line is considered to be a chapter header underline.
IsCommentLine
#Test whether a line is a comment. Commented lines begin with double slashes (//) and are ignored during parsing.
Parameters:
| line (string) | Line to test. If you supply a multi-line string, death's too good for you. |
Returns: True if the line is a comment line.
IsLinkLine
#Test whether a line represents a referenced link target. Note; this is a quick check. The link might still be invalid, use the IsLinkLine overload to include validity checks.
Parameters:
| line (string) | Line to test. |
Returns: True if the line is a referenced link.
IsListLine
#Test whether a line contains a list item.
Parameters:
| line (string) | Line to check. |
Returns: True if the line contains a list item.
IsParagraphHeaderLine
#Test whether a line represents a paragraph header underline. Paragraph header underlines contain at least 4 consecutive dashes preceded or followed by any amount of white space.
Parameters:
| line (string) | Line to test. |
Returns: True if the line is considered to be a paragraph header underline.
IsQuoteLine
#Test whether a line is a block quote line. Block quotes start with a larger than symbol.
Parameters:
| line (string) | Line to test. |
Returns: True if the line is a block quote.