MarkdownParserOptions class final

Feature switches for the Markdown parser.

Constructors

MarkdownParserOptions({bool tables = true, bool strikethrough = true, bool taskLists = true, bool autolinks = true, bool math = true, bool citations = true, bool thinking = true})
Creates parser options. Everything is enabled by default.
const

Properties

Whether bare http:// / https:// URLs and <url> become links.
final
citations → bool
Whether citation markers become InlineCitations: [1], [12], [1, 2], [^1] and [^note].
final
hashCode → int
The hash code for this object.
no setterinherited
math → bool
Whether LaTeX math is recognised: $…$ and \(…\) inline, $$…$$ for display math, and $$ or \[ blocks on their own lines.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
strikethrough → bool
Whether ~~text~~ is parsed as strikethrough.
final
tables → bool
Whether GitHub-flavoured tables are recognised.
final
taskLists → bool
Whether - [ ] / - [x] list items become task-list items.
final
thinking → bool
Whether <think>…</think> and <thinking>…</thinking> at the start of the reply become a ThinkingBlock, as reasoning models emit them.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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