$heading ( element -- ) (original) (raw)
$heading ( element -- )
Factor handbook » Developer tools » Help system » Writing documentation » Element types » Block elements
Prev: | $example ( element -- ) |
---|---|
Next: | $links ( topics -- ) |
Inputs
element | a markup element |
---|
Outputs
None
Word description
Prints a markup element, usually a string, as a block with the heading-style.
Examples
{ $heading "What remains to be discovered" } print-element
What remains to be discovered
Definition
USING: help.stylesheet namespaces ;
: $heading ( element -- )
[ heading-style get print-element* ] ($heading) ;