class

CRDoc::Render::MarkdownRenderer

Inherits Reference < Object

Markdown subset to terminal text.

Constants

FENCE = /\A(```+|~~~+)\s*([^\s`{,]*)/
HEADING = /\A(\#{1,6})\s+(.*?)(?:\s+\#+)?\s*\z/
LIST_ITEM = /\A([*+-]|\d+[.)])\s+(.*)\z/
RULE = /\A([-*_])(?:\s*\1){2,}\s*\z/

Constructors

new(io : IO, context : Context, indent : Int32)
Source

Instance methods

render(text : String) : Nil
Source