CommonMark subset parsed once, rendered per channel dialect.
Supported inline syntax: **bold**, *italic*, `code`, fenced code
blocks (``` with optional language line), and [text](url) links.
Everything else passes through as plain text.
| dialect | bold | italic | link | plain-text escaping |
|---|---|---|---|---|
:discord | **x** | *x* | [t](u) | none (native markdown) |
:slack | *x* | _x_ | <u|t> | & < > entity-escaped |
:telegram | *x* | _x_ | [t](u) | MarkdownV2 escape set |
:whatsapp | *x* | _x_ | t (u) | none |
Summary
Functions
Parses markdown text into a segment tree (blocks flattened in order).
Renders markdown (raw text or segments) for a dialect.
Types
Functions
Parses markdown text into a segment tree (blocks flattened in order).
Renders markdown (raw text or segments) for a dialect.