module Luce
Overview
Parses text in a Markdown-like format and renders to HTML.
Defined in:
luce.crluce/ast.cr
luce/block_parser.cr
luce/document.cr
luce/emojis.cr
luce/extension_set.cr
luce/html_renderer.cr
luce/inline_parser.cr
luce/util.cr
Constant Summary
-
VERSION =
"0.1.0"
Class Method Summary
-
.render_html(nodes : Array(Node)) : String
Render nodes to HTML.
-
.to_html(markdown : String, block_syntaxes = Array(BlockSyntax).new, inline_syntaxes = Array(InlineSyntax).new, extension_set : ExtensionSet | Nil = nil, link_resolver : Resolver | Nil = nil, image_link_resolver : Resolver | Nil = nil, inline_only : Bool = false) : String
Converts the given string of Markdown to HTML
Class Method Detail
def self.to_html(markdown : String, block_syntaxes = Array(BlockSyntax).new, inline_syntaxes = Array(InlineSyntax).new, extension_set : ExtensionSet | Nil = nil, link_resolver : Resolver | Nil = nil, image_link_resolver : Resolver | Nil = nil, inline_only : Bool = false) : String
#
Converts the given string of Markdown to HTML