class Markd::HTMLRenderer

Defined in:

markd/renderers/html_renderer.cr

Constant Summary

HEADINGS = ["h1", "h2", "h3", "h4", "h5", "h6"] of ::String

Instance Method Summary

Instance methods inherited from class Markd::Renderer

escape(text) escape, literal(string : String) literal, newline newline, output(string : String) output, render(document : Node) render

Constructor methods inherited from class Markd::Renderer

new(options : Markd::Options = Options.new) new

Instance Method Detail

def block_quote(node : Node, entering : Bool) #

[View source]
def code(node : Node, entering : Bool) #

[View source]
def code_block(node : Node, entering : Bool) #

[View source]
def emphasis(node : Node, entering : Bool) #

[View source]
def heading(node : Node, entering : Bool) #

[View source]
def html_block(node : Node, entering : Bool) #

[View source]
def html_inline(node : Node, entering : Bool) #

[View source]
def image(node : Node, entering : Bool) #

[View source]
def item(node : Node, entering : Bool) #

[View source]
def line_break(node : Node, entering : Bool) #

[View source]
def link(node : Node, entering : Bool) #

[View source]
def list(node : Node, entering : Bool) #

[View source]
def paragraph(node : Node, entering : Bool) #

[View source]
def soft_break(node : Node, entering : Bool) #

[View source]
def strong(node : Node, entering : Bool) #

[View source]
def text(node : Node, entering : Bool) #

[View source]
def thematic_break(node : Node, entering : Bool) #

[View source]