module ToHtml

Defined in:

attribute_hash.cr
instance_tag_attrs.cr
instance_template.cr
tag_names.cr

Constant Summary

TAG_NAMES = ["a", "abbr", "address", "article", "aside", "audio", "b", "bdi", "bdo", "blockquote", "body", "button", "canvas", "caption", "cite", "code", "colgroup", "data", "datalist", "dd", "del", "details", "dfn", "dialog", "div", "dl", "dt", "em", "fieldset", "figcaption", "figure", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "html", "i", "iframe", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "menu", "meter", "nav", "noscript", "object", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "script", "section", "select", "small", "span", "strong", "style", "sub", "summary", "sup", "svg", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "title", "tr", "u", "ul", "var", "video"] of ::String
VOID_TAG_NAMES = ["area", "base", "br", "col", "embed", "hr", "img", "input", "link", "meta", "param", "source", "track", "wbr"] of ::String

Macro Summary

Macro Detail

macro class_tag_attrs(&blk) #

[View source]
macro class_template(&blk) #

[View source]
macro instance_tag_attrs(&blk) #

[View source]
macro instance_template(&blk) #

[View source]
macro to_html_add_tag(io, indent_level, break_line, call) #

[View source]
macro to_html_add_void_tag(io, indent_level, break_line, call) #

[View source]
macro to_html_attrs_eval_exp(exp) #

[View source]
macro to_html_attrs_eval_exps(&blk) #

[View source]
macro to_html_eval_exp(io, indent_level, break_line = true, &blk) #

[View source]
macro to_html_eval_exps(io, indent_level, &blk) #

[View source]