module
Opal::UI::Markdown
Defined in:
opal/ui/markdown/renderer.cr:7opal/ui/markdown/renderer.cr:446
Class Method Summary
-
.print(text : String, io : IO = STDOUT, width : Int32 | Nil = nil) : Nil
Prints rendered Markdown directly to IO.
-
.render(text : String, width : Int32 | Nil = nil) : String
Renders Markdown text directly to an ANSI formatted string.
Class Method Detail
Prints rendered Markdown directly to IO.
def self.render(text : String, width : Int32 | Nil = nil) : String
#
Renders Markdown text directly to an ANSI formatted string.