Commits

Anonymous committed 17e714d

More refinement, including tweaking the copyright symbol. Also, added defentity to simplify creation (and export) of new entity variales (e.g., +nbsp+, +copy+, etc)

Comments (0)

Files changed (1)

 
   'hout
   'defhtmltag
+  'defentity
   '*current-tag*
   '*tag-library-registry*
   'body-of
      )
   )
 
+(defmacro defentity (name text &optional documentation)
+  "Defines an entity usable in HTML"
+  `(progn
+     (defvar ,name ,text ,documentation)
+     (export (list (quote ,name) ) )
+     )
+  )
+
 (defmacro html (&rest body)
   "Interpret the body as html markup, returning an HTML fragment"
   `(let (