]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/furnace/actions/actions-docs.factor
factor: remove """ string syntax for now. there are HEREDOC:, STRING:, escaping ...
[factor.git] / basis / furnace / actions / actions-docs.factor
index ad90dd75688abf6951c88c79f29f78ce9706355e..edf3eb152016fd47ec868a18c0738360ab33e1ea 100644 (file)
@@ -53,12 +53,12 @@ HELP: validate-params
 { $examples
     "A simple validator from " { $vocab-link "webapps.todo" } "; this word is invoked from the " { $slot "validate" } " quotation of action for editing a todo list item:"
     { $code
-        """: validate-todo ( -- )
+        ": validate-todo ( -- )
     {
-        { "summary" [ v-one-line ] }
-        { "priority" [ v-integer 0 v-min-value 10 v-max-value ] }
-        { "description" [ v-required ] }
-    } validate-params ;"""
+        { \"summary\" [ v-one-line ] }
+        { \"priority\" [ v-integer 0 v-min-value 10 v-max-value ] }
+        { \"description\" [ v-required ] }
+    } validate-params ;"
     }
 } ;