[racket] Expressing attrributes in scribble/html?

From: Daniel Prager (daniel.a.prager at gmail.com)
Date: Sun Nov 10 18:27:29 EST 2013

Eli gave a couple of example of generating html in the as-yet undocumented,
but neat-looking #lang scribble/html on stackoverflow:
http://stackoverflow.com/questions/9253126/generate-html-in-racket

These examples are attribute free.  E.g.

#lang scribble/html@(define name "foo")@html{@head{@title{@name}}
      @body{@h1{@name}}}


How do I encode an attribute?

E.g. ? -> <a href='foo.html'>bar</a>


Thanks

Dan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20131111/878fc1ea/attachment.html>

Posted on the users mailing list.