def render_template(template_name: str, **kwargs):
    """
    Renders the template file with the given filename from within Cauldron's
    template environment folder.

    :param template_name:
        The filename of the template to render. Any path elements should be
        relative to Cauldron's root template folder.
    :param kwargs:
        Any elements passed to Jinja2 for rendering the template
    :return:
        The rendered string
    """

    return get_environment().get_template(template_name).render(
        cauldron_template_uid=make_template_uid(),
        **kwargs
    )