$references ( element -- ) (original) (raw)
$references ( element -- )
Factor handbook » Developer tools » Help system » Writing documentation » Element types » Block elements
Prev: | $markup-example ( element -- ) |
---|---|
Next: | $see ( element -- ) |
Inputs
element | a markup element of the form { topic... } |
---|
Outputs
None
Word description
Prints a heading followed by a series of links.
Notes
This element type is used by the cookbook-style introductory articles in the Factor handbook.
Definition
USING: assocs kernel sequences ;
: $references ( element -- )
"References" $heading unclip print-element
[ \ $link swap ] map>alist $list ;