markdownz_inline (markdownz v1.0.1)
View SourceInline Markdown rules. Rules consume the beginning of a binary and return z_html_parse compatible nodes.
Summary
Types
-type html_element() :: markdownz:html_element().
-type result() :: nomatch | {ok, [html_element()], binary(), state()}.
-type state() :: map().
Functions
-spec default_rules() -> markdownz_ruler:ruler().
-spec parse(binary(), state()) -> {[html_element()], state()}.