tui.show
tui.md.show PANE TEXT [FILE]
Renders TEXT as Markdown into the scrolling pane PANE (scroll="v").
Parameters
PANE: the ID of a pane withscroll="v".TEXT: the Markdown source.FILE: whereTEXTcame from. Relative links (other.md,../x.md#anchor) resolve against its folder andtui.md.backcan return to it.
Notes
- The text is remembered, and the pane is rendered again when its width changes (resize, first layout, page switch).
<markdown pane="ID" src="FILE"/>in markup does the same with the contents of a file.
Example
tui.md.show help_pane "$(<README.md)"
See also: tui.md.show_file, tui.md.render
