diff --git a/basis/combinators/smart/smart-docs.factor b/basis/combinators/smart/smart-docs.factor index 22cf21c0e7..cdd2744888 100644 --- a/basis/combinators/smart/smart-docs.factor +++ b/basis/combinators/smart/smart-docs.factor @@ -158,10 +158,9 @@ HELP: nullary } { $description "Infers the number of inputs to a quotation and drops them from the stack." } { $examples - { $example + { $code """USING: combinators.smart kernel math ; 1 2 [ + ] nullary""" -"" } } ; diff --git a/basis/multiline/multiline-docs.factor b/basis/multiline/multiline-docs.factor index 09f86197ba..d22cbdf1ae 100644 --- a/basis/multiline/multiline-docs.factor +++ b/basis/multiline/multiline-docs.factor @@ -8,10 +8,9 @@ HELP: STRING: HELP: /* { $syntax "/* comment */" } { $description "Provides C-like comments that can span multiple lines. One caveat is that " { $snippet "/*" } " and " { $snippet "*/" } " are still tokens and must not abut the comment text itself." } -{ $example "USING: multiline ;" +{ $code "USING: multiline ;" "/* I think that I shall never see" " A poem lovely as a tree. */" - "" } ; HELP: HEREDOC: