Yes, I think the simple solution is the right one. Sam
On Fri, Apr 15, 2016 at 3:50 PM, Jens Axel Søgaard <jensa...@soegaard.net> wrote: > Hi All, > > The library scribble/html paired with at-expressions provide a really nice > way to write html: > > @html[@head[@title{This is a title}] > @body[@h1{This is a header} > @p{This is a paragraph with text}]] > > The library represents html as structures. Each html element type has its > own Racket structure. The library is based on the elments available > in xhtml1 > > http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd > > Since then new elements have appeared ( svg for one ). > On an ad hoc basis I have added elements, to urlang/html but am realizing > a systematic approach is better. > > The simple solution is to take the elements from > > https://www.w3.org/TR/html/index.html#elements-1 > > and add them to scribble/html. > > Is the simple solution also the right solution? > > -- > Jens Axel Søgaard > > -- > You received this message because you are subscribed to the Google Groups > "Racket Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to racket-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.