Parser.render_html()

Finish parsing (if needed) and render as HTML.

Usage

Source

Parser.render_html(
    *,
    sourcepos=False,
)

Parameters

sourcepos: bool = False
Include data-sourcepos attributes. Default False.

Returns

str
The rendered HTML string.