Header menu logo Nao

Markdown Module

Reader and writer for `text/markdown` (CommonMark-ish subset). Markdown is the canonical *fluid* format, so it exercises headings, lists, code, quotes, tables, emphasis, links and images of the unified model.

Types

Type Description

Reader

Parses Markdown into a fluid `Document` with the Markdig CommonMark parser (advanced extensions on: pipe tables, strikethrough, autolinks, ...).

Writer

Writes a `Document` as Markdown.

Functions and values

Function or value Description

MediaType

Full Usage: MediaType

Returns: string
Returns: string

defaultRegistry ()

Full Usage: defaultRegistry ()

Parameters:
    () : unit

Returns: ConverterRegistry

A `ConverterRegistry` preconfigured with the built-in text formats (markdown + plain text), ready for A → unified → B conversions.

() : unit
Returns: ConverterRegistry

Type something to start searching.