Telegex.Marked v0.0.3 Telegex.Marked.HTMLRenderer View Source

HTML rendering implementation.

Link to this section Summary

Functions

Render node.

Render node list.

Link to this section Functions

Specs

render_node(Telegex.Marked.Node.t()) :: String.t()

Render node.

This function will render different HTML elements according to different node types, including child nodes.

Specs

render_nodes([Telegex.Marked.Node.t()]) :: String.t()

Render node list.

Generally speaking, a node represents a line of content in Markdown text.