module Luce

Overview

Parses text in a Markdown-like format and renders to HTML.

Defined in:

luce.cr
luce/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

Class Method Detail

def self.render_html(nodes : Array(Node)) : String #

Render nodes to HTML.


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