factor/basis/html/html-docs.factor

8 lines
381 B
Factor

USING: help.markup help.syntax strings xml.data ;
IN: html
HELP: simple-page
{ $values { "title" string } { "head" "XML data" } { "body" "XML data" }
{ "xml" xml } }
{ $description "Constructs a simple XHTML page with a " { $snippet "head" } " and " { $snippet "body" } " tag. The given XML data is spliced into the two child tags, and a title is also added to the head tag." } ;