components property

  1. @Deprecated('Use markdownOptions.blockComponents. Passing components at all (even ' 'an empty list) switches gpt_markdown onto its legacy regex pipeline, ' 'which has no incremental segment cache. Will be removed in 2.0.0.')
List<MarkdownComponent>? components
final

Custom block-level markdown components forwarded to gpt_markdown's GptMarkdown.components. Use this to override how headers, lists, bold, italic, tables, etc. are rendered. When null, the default gpt_markdown component list is used.

Implementation

@Deprecated(
  'Use markdownOptions.blockComponents. Passing components at all (even '
  'an empty list) switches gpt_markdown onto its legacy regex pipeline, '
  'which has no incremental segment cache. Will be removed in 2.0.0.',
)
final List<MarkdownComponent>? components;