flask.render()

Renders a template (path relative to the template folder) to a str.

Usage

Source

flask.render(
    template_file,
    **template_data,
)

Raises FlaskChameleonException if nothing is configured.