D.A.B.Tv0.0.33 Tutorial API DABT Tools ↗ GitHub ↗

tui.style

tui.md.style TEXT

Styles Markdown TEXT for source editors: one row per source line, with every character kept.

Parameters

  • TEXT: the Markdown source.

Results

  • TUI_MD_ROWS: one styled row per source line. Stripping the SGR sequences gives the input back.
  • TUI_MD_MAP: identity map.

Notes

  • Delimiters are drawn with the marker class. Headings, quotes, list markers, fences, emphasis, code and links are styled.

See also: tui.md.render, tui.md.style_set