ParserOptions class final
Independently configurable Markdown syntax, defaulting to the LLM dialect.
Constructors
- ParserOptions({bool plusListMarker = true, bool unicodeLineBreaks = true, bool orderedParenthesis = true, bool tablePipesOptional = true, int maxInlineMathLength = 512, bool inlineMath = true, bool dollarInlineMath = true, bool strikethrough = true, bool highlight = true, bool inlineHtml = true, bool softBreakAsHardBreak = true, bool underscoreEmphasis = true, bool autolinks = true, bool entities = true, bool cjkFlankingRelax = true, bool alerts = true, bool directives = true, bool htmlBlocks = true, bool tables = true, bool details = true, bool taskItems = true, bool standaloneTaskLine = true, bool radioItems = true, bool mathBlocks = true, bool setextHeadings = false, bool indentedCode = false, bool relaxedListIndentation = true})
-
const
- ParserOptions.commonMark()
-
const
- ParserOptions.gfm()
-
const
- ParserOptions.llm()
-
const
Properties
- alerts → bool
-
final
- autolinks → bool
-
final
- cjkFlankingRelax → bool
-
final
- details → bool
-
final
- directives → bool
-
final
- dollarInlineMath → bool
-
Single-dollar inline math; parenthesized and display math stay independent.
final
- entities → bool
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- highlight → bool
-
final
- htmlBlocks → bool
-
final
- indentedCode → bool
-
final
- inlineHtml → bool
-
final
- inlineMath → bool
-
final
- mathBlocks → bool
-
final
- maxInlineMathLength → int
-
final
- orderedParenthesis → bool
-
final
- plusListMarker → bool
-
final
- radioItems → bool
-
final
- relaxedListIndentation → bool
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- setextHeadings → bool
-
final
- softBreakAsHardBreak → bool
-
final
- standaloneTaskLine → bool
-
final
- strikethrough → bool
-
final
- tablePipesOptional → bool
-
final
- tables → bool
-
final
- taskItems → bool
-
final
- underscoreEmphasis → bool
-
final
- unicodeLineBreaks → bool
-
Treat LS and PS as line boundaries in the LLM dialect.
final
Methods
-
copyWith(
{bool? plusListMarker, bool? unicodeLineBreaks, bool? orderedParenthesis, bool? tablePipesOptional, int? maxInlineMathLength, bool? inlineMath, bool? dollarInlineMath, bool? strikethrough, bool? highlight, bool? inlineHtml, bool? softBreakAsHardBreak, bool? underscoreEmphasis, bool? autolinks, bool? entities, bool? cjkFlankingRelax, bool? alerts, bool? directives, bool? htmlBlocks, bool? tables, bool? details, bool? taskItems, bool? standaloneTaskLine, bool? radioItems, bool? mathBlocks, bool? setextHeadings, bool? indentedCode, bool? relaxedListIndentation}) → ParserOptions -
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