|
Options |
Name |
Purpose |
|
|
|
AbandonTableHeader ()
|
Reads the header row that was held back as an ordinary
paragraph line
|
|
|
|
AddCodeContent ()
|
Adds the lines of a fenced code block as one monospace run
|
|
|
|
AddCodeSpan (integer, integer, TextRunFormat)
|
Adds the given range of the inline buffer as a code span
|
|
|
|
AddLine (integer, integer, logical)
|
Adds one line to the block that is open
|
|
|
|
AddTableCell (integer, integer, logical)
|
Adds one cell of a pipe table to the document
|
|
|
|
BeginTable ()
|
Opens the table whose header row was held back and adds that
row to it
|
|
|
|
BuildInline ()
|
Builds the inline content of the block that is being finished
|
|
|
|
INTEGER CountListMarker (integer)
|
Counts the list item whose marker ListMarkerEnd recognized on
the given nesting level and returns its number
|
|
|
|
CHARACTER DataUriMimeType (integer, integer)
|
Returns the MIME type of the data URI the given range holds
|
|
|
|
INTEGER DataUriPrefixLength (character)
|
Returns the number of bytes the data URI prefix of the given
MIME type occupies
|
|
|
|
INTEGER DelimiterRun (integer, integer, integer)
|
Returns the length of the run of the given byte value that
begins at the given position
|
|
|
|
INTEGER DigitRun (integer, integer)
|
Returns the length of the run of digits in the source that
begins at the given position
|
|
|
|
EmitTableRow (integer, integer, logical)
|
Adds the cells of one row of a pipe table to the document
|
|
|
|
EndTable ()
|
Closes the table that is being read
|
|
|
|
INTEGER FenceLength (integer, integer)
|
Returns the length of the code fence the given line opens
|
|
|
|
INTEGER FindBracketClose (integer, integer)
|
Returns the position of the closing square bracket that
belongs to the opening one
|
|
|
|
INTEGER FindCodeClose (integer, integer, integer)
|
Returns the position of the backtick run that closes a code span
|
|
|
|
INTEGER FindDelimiterClose (integer, integer, integer, integer)
|
Returns the position of the delimiter run that closes an
emphasis or a strikethrough
|
|
|
|
INTEGER FindParenClose (integer, integer)
|
Returns the position of the closing parenthesis that belongs
to the opening one
|
|
|
|
FinishBlock ()
|
Adds the block that is open to the document and builds its runs
|
|
|
|
FlushStage (TextRunFormat)
|
Adds the staged plain text as a text run and empties the stage
|
|
|
|
INTEGER HeadingLevel (integer, integer)
|
Returns the heading level the given line carries
|
|
|
|
INTEGER IndentColumns (integer, integer)
|
Returns the number of columns the given range of the source
occupies as indentation
|
|
|
|
LOGICAL InlineBeginsWith (integer, integer, character)
|
Returns if the inline buffer carries the given ASCII value at
the given position
|
|
|
|
LOGICAL IsAllBlanks (integer, integer)
|
Returns if the given range of the inline buffer carries
nothing but blanks
|
|
|
|
LOGICAL IsAsciiLetter (integer)
|
Returns if the given byte is an ASCII letter
|
|
|
|
LOGICAL IsAsciiPunctuation (integer)
|
Returns if the given byte is ASCII punctuation
|
|
|
|
LOGICAL IsBlank (integer)
|
Returns if the given byte is a blank or a tab
|
|
|
|
LOGICAL IsClosingFence (integer, integer)
|
Returns if the given line closes the fenced code block that is
open
|
|
|
|
LOGICAL IsDelimiterRow (integer, integer)
|
Returns if the given line is the delimiter row of a pipe table
|
|
|
|
LOGICAL IsPipeRow (integer, integer)
|
Returns if the given line is a row of a pipe table
|
|
|
|
LOGICAL IsThematicBreak (integer, integer)
|
Returns if the given line is a thematic break
|
|
|
|
INTEGER ListLevelFor (integer)
|
Returns the nesting level a list item written with the given
indentation belongs to
|
|
|
|
INTEGER ListMarkerEnd (integer, integer)
|
Returns the position behind the list marker the given line
opens a list item with
|
|
|
|
ParseInline (integer, integer, TextRunFormat)
|
Reads the given range of the inline buffer and adds the runs
it describes to the document
|
|
|
|
ProcessLine (integer, integer)
|
Processes one line of the source
|
|
|
|
Consultingwerk.Util.DocumentConverter.TextDocument Read (longchar)
|
Reads the given Markdown document into a new TextDocument
|
|
|
|
INTEGER ReadAutolink (integer, integer, TextRunFormat)
|
Reads the autolink that begins at the given position
|
|
|
|
LONGCHAR ReadDestination (integer, integer)
|
Returns the destination of a link, without the angle brackets
it may be written in and with its escapes resolved
|
|
|
|
INTEGER ReadLink (integer, integer, logical, TextRunFormat)
|
Reads the link or image that begins at the given position
|
|
|
|
ResetListStack ()
|
Closes every open list level
|
|
|
|
ResetState ()
|
Resets the reader state so that an instance could be reused
|
|
|
|
INTEGER SkipColumns (integer, integer, integer)
|
Returns the position behind the given number of columns of
indentation of the given line
|
|
|
|
INTEGER SkipInlineWhitespace (integer, integer)
|
Returns the position of the first byte of the given inline
range that is not whitespace
|
|
|
|
INTEGER SkipWhitespace (integer, integer)
|
Returns the position of the first byte of the given line that
is not whitespace
|
|
|
|
LONGCHAR SliceUtf8 (memptr, integer, integer)
|
Returns the given byte range as a longchar
|
|
|
|
INTEGER SourceRun (integer, integer, integer)
|
Returns the length of the run of the given byte value in the
source that begins at the given position
|
|
|
|
StageByte (integer)
|
Stages one byte of plain text
|
|
|
|
StartBlock (integer, integer, logical)
|
Opens a new block that the following lines belong to
|
|
|
|
INTEGER StripBlockQuote (integer, integer, integer)
|
Returns the position behind the block quote markers of the
given line
|
|
|
|
INTEGER StripFenceQuote (integer, integer)
|
Returns the position behind the block quote markers of a line
inside a fenced code block
|
|
|
|
INTEGER TrimRight (integer, integer)
|
Returns the position of the last byte of the given range that
is not a blank
|
|
|
|
LONGCHAR UnescapeRange (integer, integer)
|
Returns the given range of the inline buffer with its
backslash escapes resolved
|