X-Git-Url: http://git.kpe.io/?p=lml2.git;a=blobdiff_plain;f=doc%2Freadme.lml;h=5be2b43cdc70e03c7409c5028be408bdfa57ede2;hp=e4fd90b9a3ad9bd6082f70c187b695ddb4285482;hb=89cf1a9e0c28e8e4707f5541b831b5025f953956;hpb=3028bb27f2f4fa1f8f5234c9a2e3b5bd80f602b6 diff --git a/doc/readme.lml b/doc/readme.lml index e4fd90b..5be2b43 100644 --- a/doc/readme.lml +++ b/doc/readme.lml @@ -2,7 +2,7 @@ (in-package #:lml2) -(page ("readme") +(html-file-page ("readme") (html (:head (:title "LML2 README") @@ -43,7 +43,9 @@ (:li "Lowercase tag names so that (html ((:p class 'a))) now produces '<p class=\"a\"></p>") (:li "Addition of new tags such as :insert-file, :nbsp, :jscript") (:li "Removal of the if* macro from the htmlgen.lisp source code") - (:li "Incorporation of LML's standard site macro and other helper functions.")) + (:li "Incorporation of LML's standard site macro and other helper functions.") + (:li "Addition of special attribute tags (:if :when :optional :format :format") + (:li "Automatic quoting of attribute values for non-string values")) (:h2 "Installation") (:p @@ -72,17 +74,13 @@ (:td (:pre "(html - (:i \"The square of the first five integers are: )\" - (:b - (loop as x from 1 to 5 - doing - (lml-format \" ~D\" (* x x))))")) + (:i \"The square of the first five integers are: \") + (:b (loop as x from 1 to 5 + doing (html " " (:princ (* x x))))))")) (:td (:i "The square of the first five integers are: ") - (:b - (loop as x from 1 to 5 - doing - (lml-format " ~D" (* x x)))))) + (:b (loop as x from 1 to 5 + doing (html " " (:princ (* x x))))))) )) :hr (:p