class Opal::UI::Markdown::Renderer

Overview

Renders Markdown text into ANSI styled terminal text.

Defined in:

opal/ui/markdown/renderer.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(width : Int32 = 80) #

[View source]

Instance Method Detail

def format_inline(text : String) : String #

Formats inline formatting: bold, italic, code, links


[View source]
def render(text : String) : String #

[View source]
def width : Int32 #

[View source]