Package-level declarations

Types

Link copied to clipboard
data class Config(var enableAutolink: Boolean = false, var enableStrikethrough: Boolean = false, var enableTables: Boolean = false, var enableFootnotes: Boolean = false, var enableHeadingAnchors: Boolean = false, var enableIns: Boolean = false, var enableYamlFrontMatter: Boolean = false, var enableImageAttributes: Boolean = false, var enableTaskList: Boolean = false)

Configuration of Markdown extensions.

Link copied to clipboard
class CustomAttributes(val node: Node, val tag: String, val attrs: MutableMap<String, String>)
Link copied to clipboard
class CustomRenderer<T : Node>(val node: T, val ctx: HtmlNodeRendererContext)
Link copied to clipboard
class Markdown

A DSL for customizing the rendering of Markdown with CommonMark.

Link copied to clipboard
data class Rendered(val html: String, val metadata: Map<String, List<String>>?)

Functions

Link copied to clipboard
fun renderMarkdown(md: String, block: Markdown.() -> Unit): Rendered

Render the Markdown string md, using the given block to configure the commonmark rendering.