Markdown Parser
class MarkdownParser(flavour: MarkdownFlavourDescriptor, assertionsEnabled: Boolean = true, cancellationToken: CancellationToken = CancellationToken.NonCancellable)
Constructors
Link copied to clipboard
constructor(flavour: MarkdownFlavourDescriptor, assertionsEnabled: Boolean = true, cancellationToken: CancellationToken = CancellationToken.NonCancellable)
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Parses one top-level block of text from startOffset with parseInlines = false. The parse stops at the next line start where no block is open. startOffset must be such a line start too. An assertion is raised if startOffset is not a line start. The children of the result are the same as the children of a full parse in that range. The ASTNode.endOffset can be used as startOffset of the next call.
Link copied to clipboard
fun parseInline(root: IElementType, text: CharSequence, textStart: Int, textEnd: Int, baseOffset: Int): ASTNode