help.markup: simplify $example slightly.
parent
2c4ed220b5
commit
d18fe872f2
|
@ -132,7 +132,7 @@ ALIAS: $slot $snippet
|
|||
"Examples" $heading print-element ;
|
||||
|
||||
: $example ( element -- )
|
||||
1 cut* [ "\n" join ] bi@ over <input> [
|
||||
unclip-last [ "\n" join ] dip over <input> [
|
||||
[ print ] [ output-style get format ] bi*
|
||||
] ($code) ;
|
||||
|
||||
|
|
Loading…
Reference in New Issue