markdownz_html (markdownz v1.0.1)

View Source

Render z_html_parse compatible trees to HTML iodata.

Summary

Types

html_element/0

-type html_element() :: binary() | {'=', binary()} | {binary(), [{binary(), term()}], [html_element()]}.

Functions

escape(Bin)

-spec escape(binary()) -> iodata().

escape_attr(Bin)

-spec escape_attr(binary()) -> iodata().

render(Nodes, Config)

-spec render([html_element()] | html_element(), map()) -> iodata().