class Markd::HTMLRenderer
Defined in:
markd/renderers/html_renderer.cr
Constant Summary
-
HEADINGS =
["h1", "h2", "h3", "h4", "h5", "h6"] of ::String
Instance Method Summary
-
#block_quote(node : Node, entering : Bool)
-
#code(node : Node, entering : Bool)
-
#code_block(node : Node, entering : Bool)
-
#code_block_body(node : Node, lang : String | Nil)
-
#code_block_language(languages)
-
#code_body(node : Node)
-
#emphasis(node : Node, entering : Bool)
-
#heading(node : Node, entering : Bool)
-
#html_block(node : Node, entering : Bool)
-
#html_inline(node : Node, entering : Bool)
-
#image(node : Node, entering : Bool)
-
#item(node : Node, entering : Bool)
-
#line_break(node : Node, entering : Bool)
-
#link(node : Node, entering : Bool)
-
#list(node : Node, entering : Bool)
-
#paragraph(node : Node, entering : Bool)
-
#soft_break(node : Node, entering : Bool)
-
#strong(node : Node, entering : Bool)
-
#text(node : Node, entering : Bool)
-
#thematic_break(node : Node, entering : Bool)
Instance Method Detail
def
block_quote(node :
Node, entering : Bool)
#
def
code(node :
Node, entering : Bool)
#
def
code_block(node :
Node, entering : Bool)
#
def
code_block_body(node :
Node, lang : String | Nil)
#
def
code_block_language(languages)
#
def
code_body(node :
Node)
#
def
emphasis(node :
Node, entering : Bool)
#
def
heading(node :
Node, entering : Bool)
#
def
html_block(node :
Node, entering : Bool)
#
def
html_inline(node :
Node, entering : Bool)
#
def
image(node :
Node, entering : Bool)
#
def
item(node :
Node, entering : Bool)
#
def
line_break(node :
Node, entering : Bool)
#
def
link(node :
Node, entering : Bool)
#
def
list(node :
Node, entering : Bool)
#
def
paragraph(node :
Node, entering : Bool)
#
def
soft_break(node :
Node, entering : Bool)
#
def
strong(node :
Node, entering : Bool)
#
def
text(node :
Node, entering : Bool)
#
def
thematic_break(node :
Node, entering : Bool)
#