markdownz_block (markdownz v1.0.1)
View SourceBlock-level Markdown parser.
Summary
Types
-type html_element() :: markdownz:html_element().
-type lines() :: [binary()].
-type result() :: nomatch | {ok, [html_element()], lines(), state()}.
-type state() :: map().
Functions
-spec default_rules() -> markdownz_ruler:ruler().
-spec parse(binary(), markdownz:config()) -> {[html_element()], state()}.
-spec parse_lines(lines(), state()) -> {[html_element()], state()}.