$snippet ( children -- ) (original) (raw)
$snippet ( children -- )
Factor handbook » Developer tools » Help system » Writing documentation » Element types » Span elements
Prev: | $vocab-link ( element -- ) |
---|---|
Next: | $slot ( children -- ) |
Inputs
children | markup elements |
---|
Outputs
None
Word description
Prints a key word or otherwise notable snippet of text, such as a type or a word input parameter. To document slot names, use $slot.
Definition
USING: help.stylesheet namespaces ;
: $snippet ( children -- )
[ snippet-style get print-element* ] ($span) ;