module Opal::UI::Markdown

Defined in:

opal/ui/markdown/renderer.cr:7
opal/ui/markdown/renderer.cr:446

Class Method Summary

Class Method Detail

def self.print(text : String, io : IO = STDOUT, width : Int32 | Nil = nil) : Nil #

Prints rendered Markdown directly to IO.


[View source]
def self.render(text : String, width : Int32 | Nil = nil) : String #

Renders Markdown text directly to an ANSI formatted string.


[View source]