abstract class Cmark::Renderer

Overview

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

Direct Known Subclasses

Defined in:

cmark/renderer.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(options : Cmark::Option = Option::None, extensions : Cmark::Extension = Extension::None) #

[View source]

Instance Method Detail

def cr #

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


[View source]
def escape_html(content : String) #

[View source]
def filter_tags(content : String) #

[View source]
def out(str) #

Prints to output


[View source]
def render(root : Node) : String #

[View source]