MarkdownBlockSyntax class abstract

A locally parsable custom block. Register a matching renderer with MarkdownBlockComponent on GptMarkdown.blockComponents.

Rules run before built-in blocks, in registration order, but only on lines starting with prefix after left trimming. Code fences are opaque. A rule returning null leaves the input to the next rule or built-in Markdown.

Implementers

Constructors

MarkdownBlockSyntax()
const

Properties

hashCode int
The hash code for this object.
no setterinherited
prefix String
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parse(List<String> lines, int startLine) MarkdownBlockMatch?
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited