module Blueprint::HTML

Included Modules

Direct including types

Defined in:

blueprint/html.cr
blueprint/html/attributes_renderer.cr

Class Method Summary

Instance Method Summary

Macros inherited from module Blueprint::HTML::ElementRegistrar

register_element(method_name, tag = nil) register_element, register_empty_element(method_name, tag = nil) register_empty_element, register_void_element(method_name, tag = nil) register_void_element

Class Method Detail

def self.build(&) : String #

[View source]

Instance Method Detail

def a(**attributes, &) : Nil #

def a(**attributes) : Nil #

def abbr(**attributes, &) : Nil #

def abbr(**attributes) : Nil #

def address(**attributes, &) : Nil #

def address(**attributes) : Nil #

def area(**attributes) : Nil #

def around_render(&) : Nil #

[View source]
def article(**attributes, &) : Nil #

def article(**attributes) : Nil #

def aside(**attributes, &) : Nil #

def aside(**attributes) : Nil #

def audio(**attributes, &) : Nil #

def audio(**attributes) : Nil #

def b(**attributes, &) : Nil #

def b(**attributes) : Nil #

def base(**attributes) : Nil #

def bdi(**attributes, &) : Nil #

def bdi(**attributes) : Nil #

def bdo(**attributes, &) : Nil #

def bdo(**attributes) : Nil #

def blockquote(**attributes, &) : Nil #

def blockquote(**attributes) : Nil #

def body(**attributes, &) : Nil #

def body(**attributes) : Nil #

def br(**attributes) : Nil #

def button(**attributes, &) : Nil #

def button(**attributes) : Nil #

def canvas(**attributes, &) : Nil #

def canvas(**attributes) : Nil #

def caption(**attributes, &) : Nil #

def caption(**attributes) : Nil #

def cite(**attributes, &) : Nil #

def cite(**attributes) : Nil #

def code(**attributes, &) : Nil #

def code(**attributes) : Nil #

def col(**attributes) : Nil #

def colgroup(**attributes, &) : Nil #

def colgroup(**attributes) : Nil #

def comment(content) : Nil #

[View source]
def data(**attributes, &) : Nil #

def data(**attributes) : Nil #

def datalist(**attributes, &) : Nil #

def datalist(**attributes) : Nil #

def dd(**attributes, &) : Nil #

def dd(**attributes) : Nil #

def del(**attributes, &) : Nil #

def del(**attributes) : Nil #

def details(**attributes, &) : Nil #

def details(**attributes) : Nil #

def dfn(**attributes, &) : Nil #

def dfn(**attributes) : Nil #

def dialog(**attributes, &) : Nil #

def dialog(**attributes) : Nil #

def div(**attributes, &) : Nil #

def div(**attributes) : Nil #

def dl(**attributes, &) : Nil #

def dl(**attributes) : Nil #

def doctype : Nil #

[View source]
def dt(**attributes, &) : Nil #

def dt(**attributes) : Nil #

def element(tag_name : String | Symbol, **attributes, &) : Nil #

[View source]
def em(**attributes, &) : Nil #

def em(**attributes) : Nil #

def embed(**attributes) : Nil #

def escape_once(value) : Blueprint::SafeValue #

[View source]
def fieldset(**attributes, &) : Nil #

def fieldset(**attributes) : Nil #

def figcaption(**attributes, &) : Nil #

def figcaption(**attributes) : Nil #

def figure(**attributes, &) : Nil #

def figure(**attributes) : Nil #

def footer(**attributes, &) : Nil #

def footer(**attributes) : Nil #

def form(**attributes, &) : Nil #

def form(**attributes) : Nil #

def h1(**attributes, &) : Nil #

def h1(**attributes) : Nil #

def h2(**attributes, &) : Nil #

def h2(**attributes) : Nil #

def h3(**attributes, &) : Nil #

def h3(**attributes) : Nil #

def h4(**attributes, &) : Nil #

def h4(**attributes) : Nil #

def h5(**attributes, &) : Nil #

def h5(**attributes) : Nil #

def h6(**attributes, &) : Nil #

def h6(**attributes) : Nil #

def head(**attributes, &) : Nil #

def head(**attributes) : Nil #

def header(**attributes, &) : Nil #

def header(**attributes) : Nil #

def hgroup(**attributes, &) : Nil #

def hgroup(**attributes) : Nil #

def hr(**attributes) : Nil #

def html(**attributes, &) : Nil #

def html(**attributes) : Nil #

def i(**attributes, &) : Nil #

def i(**attributes) : Nil #

def iframe(**attributes) : Nil #

def img(**attributes) : Nil #

def input(**attributes) : Nil #

def ins(**attributes, &) : Nil #

def ins(**attributes) : Nil #

def kbd(**attributes, &) : Nil #

def kbd(**attributes) : Nil #

def label(**attributes, &) : Nil #

def label(**attributes) : Nil #

def legend(**attributes, &) : Nil #

def legend(**attributes) : Nil #

def li(**attributes, &) : Nil #

def li(**attributes) : Nil #

def link(**attributes) : Nil #

def main(**attributes, &) : Nil #

def main(**attributes) : Nil #

def map(**attributes, &) : Nil #

def map(**attributes) : Nil #

def mark(**attributes, &) : Nil #

def mark(**attributes) : Nil #

def menu(**attributes, &) : Nil #

def menu(**attributes) : Nil #

def meta(**attributes) : Nil #

def meter(**attributes, &) : Nil #

def meter(**attributes) : Nil #

def nav(**attributes, &) : Nil #

def nav(**attributes) : Nil #

def noscript(**attributes, &) : Nil #

def noscript(**attributes) : Nil #

def object(**attributes, &) : Nil #

def object(**attributes) : Nil #

def ol(**attributes, &) : Nil #

def ol(**attributes) : Nil #

def optgroup(**attributes, &) : Nil #

def optgroup(**attributes) : Nil #

def option(**attributes, &) : Nil #

def option(**attributes) : Nil #

def output(**attributes, &) : Nil #

def output(**attributes) : Nil #

def p(**attributes, &) : Nil #

def p(**attributes) : Nil #

def picture(**attributes, &) : Nil #

def picture(**attributes) : Nil #

def plain(content : String) : Nil #

[View source]
def portal(**attributes) : Nil #

def pre(**attributes, &) : Nil #

def pre(**attributes) : Nil #

def progress(**attributes, &) : Nil #

def progress(**attributes) : Nil #

def q(**attributes, &) : Nil #

def q(**attributes) : Nil #

def raw(content : Blueprint::SafeObject) : Nil #

[View source]
def render(renderable : Blueprint::HTML) : Nil #

[View source]
def render(renderable : Blueprint::HTML.class) : Nil #

[View source]
def render(renderable : Blueprint::HTML, &) : Nil #

[View source]
def render(renderable : Blueprint::HTML.class, &) : Nil #

[View source]
def render(renderable) : Nil #

[View source]
def render? : Bool #

[View source]
def rp(**attributes, &) : Nil #

def rp(**attributes) : Nil #

def rt(**attributes, &) : Nil #

def rt(**attributes) : Nil #

def ruby(**attributes, &) : Nil #

def ruby(**attributes) : Nil #

def s(**attributes, &) : Nil #

def s(**attributes) : Nil #

def safe(value) : Blueprint::SafeValue #

[View source]
def samp(**attributes, &) : Nil #

def samp(**attributes) : Nil #

def script(**attributes, &) : Nil #

def script(**attributes) : Nil #

def section(**attributes, &) : Nil #

def section(**attributes) : Nil #

def select_tag(**attributes, &) : Nil #

def select_tag(**attributes) : Nil #

def slot(**attributes, &) : Nil #

def slot(**attributes) : Nil #

def small(**attributes, &) : Nil #

def small(**attributes) : Nil #

def source(**attributes) : Nil #

def span(**attributes, &) : Nil #

def span(**attributes) : Nil #

def strong(**attributes, &) : Nil #

def strong(**attributes) : Nil #

def style(**attributes, &) : Nil #

def style(**attributes) : Nil #

def sub(**attributes, &) : Nil #

def sub(**attributes) : Nil #

def summary(**attributes, &) : Nil #

def summary(**attributes) : Nil #

def sup(**attributes, &) : Nil #

def sup(**attributes) : Nil #

def svg(**attributes) : Nil #

[View source]
def svg(**attributes, &) : Nil #

[View source]
def table(**attributes, &) : Nil #

def table(**attributes) : Nil #

def tbody(**attributes, &) : Nil #

def tbody(**attributes) : Nil #

def td(**attributes, &) : Nil #

def td(**attributes) : Nil #

def template(**attributes, &) : Nil #

def template(**attributes) : Nil #

def textarea(**attributes, &) : Nil #

def textarea(**attributes) : Nil #

def tfoot(**attributes, &) : Nil #

def tfoot(**attributes) : Nil #

def th(**attributes, &) : Nil #

def th(**attributes) : Nil #

def thead(**attributes, &) : Nil #

def thead(**attributes) : Nil #

def time(**attributes, &) : Nil #

def time(**attributes) : Nil #

def title(**attributes, &) : Nil #

def title(**attributes) : Nil #

def to_s(buffer : String::Builder) : Nil #

[View source]
def to_s : String #

[View source]
def to_s(buffer : String::Builder, &) : Nil #

[View source]
def to_s(&) : String #

[View source]
def tr(**attributes, &) : Nil #

def tr(**attributes) : Nil #

def track(**attributes) : Nil #

def u(**attributes, &) : Nil #

def u(**attributes) : Nil #

def ul(**attributes, &) : Nil #

def ul(**attributes) : Nil #

def var(**attributes, &) : Nil #

def var(**attributes) : Nil #

def video(**attributes, &) : Nil #

def video(**attributes) : Nil #

def void_element(tag_name : String | Symbol, **attributes) : Nil #

[View source]
def wbr(**attributes) : Nil #

def whitespace : Nil #

[View source]