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) #

Instance Method Detail

def cr #

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


def escape_html(content : String) #

def filter_tags(content : String) #

def out(str) #

Prints to output


def render(root : Node) : String #