Releases
v0.16.0
- Update
cmark-gfmfrom upstream, including a denial-of-service fix for tables with a large number of autocompleted cells, correctedend_linesource positions for single-line and multi-line HTML blocks, and a fix for trailing newlines when rendering inline nodes. - Add support for front matter (
CMARK_OPT_FRONT_MATTER): a---delimited block at the start of a document is captured as aCMARK_NODE_FRONT_MATTERnode. The raw content is available vianode.string_contentand an optional format hint (e.g."yaml","toml") vianode.fence_info. - Allow
:in HTML tag names to support XML namespace prefixes (e.g.<svg:circle>,<xhtml:div>).
v0.15.1
- Add agent context.
v0.15.0
- Introduced
Markly::Renderer::Headingsclass for extracting headings from markdown documents with automatic duplicate ID resolution. When rendering HTML withids: true, duplicate heading text now automatically gets unique IDs (deployment,deployment-2,deployment-3). TheHeadingsclass can also be used to extract headings for building navigation or table of contents.
v0.14.0
- Expose
Markly::Renderer::HTML.anchor_formethod to generate URL-safe anchors from headers.