nice stuff here!!!

I would suggest that API should be something

`def link href, opts={}`

because klass is really an HTML concept, whereas all the work you've done is making this much more cross-format ready.