class

Cmark::Renderer

Inherits Reference < Object

The base renderer class from which to inherit for full custom node rendering.

Constructors

new(options : Cmark::Option = Option::None, extensions : Cmark::Extension = Extension::None)
Source

Instance methods

cr

Prints a '\n' in output if its last character in output is not already '\n'

Source
escape_html(content : String)
Source
filter_tags(content : String)
Source
out(str)

Prints to output

Source
render(root : Node) : String
Source