Skip to main content

Module kramdown_utils

Module kramdown_utils 

Source
Expand description

Utilities for handling Kramdown-specific syntax

Kramdown is a superset of Markdown that adds additional features like Inline Attribute Lists (IAL) for adding attributes to elements.

Functions§

has_span_ial
Check if text ends with a Kramdown span IAL (inline attribute)
is_kramdown_block_attribute
Check if a line is a Kramdown block attribute (IAL - Inline Attribute List)
is_kramdown_extension_close
Check if a line is a Kramdown extension closing tag
is_kramdown_extension_open
Check if a line is a Kramdown extension opening tag (multi-line, not self-closing)
is_kramdown_extension_self_closing
Check if a line is a self-closing Kramdown extension: {::options … /}, {::comment /}
is_math_block_delimiter
Check if a line starts a math block