tui.profile
tui.md.profile dabt|theme
Chooses the base look of the Markdown styles: DABT’s own style table, or the active theme’s .md_CLASS rules.
Parameters
dabt|theme:dabtis DABT’s own style table;themetakes the.md_CLASSrules of the active theme (fg,bgandmods, as for any theme class) and keeps DABT’s look for the classes the theme does not define.
Returns: 1 for another name.
Notes
- The classes are
h1toh6,strong,em,code,codeblock,quote,bullet,link,hr,marker,strike,hl_keyword,hl_string,hl_comment,hl_number,hl_var,page,table(the outline of tables) andtable_head(the header row). - Styles set with
tui.md.style_specalways go on top of the profile. - Persisted as
md.profilein the config (seetui.md.config_apply).
Example
tui.md.profile theme
