#NEWLINE# def render_template( template_name_or_list , **context ) : #NEWLINE# #INDENT# 'Renders a template from the template folder with the given\n    context.\n\n    :param template_name_or_list: the name of the template to be\n                                  rendered, or an iterable with template names\n                                  the first one existing will be rendered\n    :param context: the variables that should be available in the\n                    context of the template.\n    ' #NEWLINE# ctx = _request_ctx_stack . top #NEWLINE# ctx . app . update_template_context ( context ) #NEWLINE# return _render ( ctx . app . jinja_env . get_or_select_template ( template_name_or_list ) , template_name_or_list , ctx . app )