Options
All
  • Public
  • Public/Protected
  • All
Menu

Options for processing markdown text.

Hierarchy

  • MarkdownToModelOptions

Index

Properties

Optional direction

direction: "ltr" | "rtl"

Specify the direction of the converted markdown text

default

'ltr'

Optional emptyLine

emptyLine: "preserve" | "remove" | "merge"

Specify how should we process empty lines in the markdown text.

  • 'preserve': Keep empty lines as they are.
  • 'remove': Remove empty lines.
  • 'merge': Merge empty lines with adjacent paragraphs.
default

'merge'

Optional splitLinesPattern

splitLinesPattern: string

The pattern to split lines in the markdown text.

Optional tableStyles

tableStyles: TableMetadataFormat

Specify the table styles to apply to tables converted from markdown. When omitted, use plain markdown table styles with black borders and no header styling. When specified, use the provided table metadata instead of the default markdown styles.

Generated using TypeDoc