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

tui.show_file

tui.md.show_file PANE FILE

Renders the contents of FILE into the scrolling pane PANE, as tui.md.show does. Returns 1 when FILE cannot be read.

Parameters

  • PANE: the ID of a pane with scroll="v".
  • FILE: the path of the Markdown file.

Example

tui.md.show_file help_pane docs/help.md || tui.set_label status "no help"

See also: tui.md.show