Skip to main content

render.render()

obj in format (a renderer key: docx, html, markdown, png, svg), in the style.

Usage

Source

render.render(
    obj,
    format,
    *,
    style=None,
    source=None,
)

style is anything load_style takes. source fills the source note of every table and figure that has none; a Document’s own source does the same.