Text & i18n1 exports
Raw Markdown/text/cmark
CommonMark and GitHub Flavored Markdown compiler (to-html) supporting tables, strikethrough, and task lists.
Functions & symbols#
to-html#
function
Compiles Markdown (tables, strikethrough, task lists, heading attributes) to HTML (strips raw HTML unless `{:unsafe true}`).
| Parameter | Type | Optional | Description |
|---|---|---|---|
markdown | String | required | CommonMark / GFM Markdown source string |
options | Map | optional | Optional compiler flags {:unsafe Bool} |
Returns:
Any(cmark/to-html "# Hello\n\n**World**")