tui.style_spec_of
tui.md.style_spec_of CLASS VAR
Stores in VAR the spec of the current style of CLASS.
Parameters
CLASS: a style class, as fortui.md.style_spec.VAR: the name of the variable that receives the spec.
Notes
- The spec has the form
FG[/BG][:MOD,MOD...], as fortui.md.style_spec. - The spec is the one
CLASSwas set with. A class that was never set has its spec read back from its default SGR sequence, for exampledefault:bold.
Example
tui.md.style_spec_of h1 spec # spec="cyan:bold,underline" after the h1 example
