Taggart v0.1.5 Taggart View Source

Generates tags upon use.

Importing

Generates all known HTML tags as macros upon import:

use Taggart.HTML

div do
  span("some content")
end

Generates just the given tags:

use Taggart, tags: [:foo, :bar]

foo do
  bar("some content")
end