SYNOPSIS
Generate markup
DESCRIPTION
Generating markup can get ugly, the mix of html and javascript can get very confusing very quickly. This little library helps you create readable code. It also has no dependencies so you can use it on your node.js server.
USAGE
var template = template
hey!this iseasy
IDs and Classes
If a string value matches the pattern used to create IDs
and classes
, they
will be automatically generated.
home
The pattarn to determine if a string value passed to a tag function is special looks like this...
'[#id][.class1[.class2[...]]]'
Adding attributes
Just add an object to the arguments, doesnt mater what order it's provided in.
hey!
When there are no params
Hello, World!