zulip/zproject/jinja2
Eeshan Garg baff121115 app_filters: Render HTML to render Jinja2 syntax within Markdown macros.
If a Markdown macro contains Jinja2 template code, it isn't rendered
because render_markdown_path calls template.render on the including
.md file before the macro has been included. And then the including
.md file is converted to HTML. Therefore, the template code within
a Markdown macro (if any) never gets rendered and is returned as it is.

Now, after the source .md file is converted to HTML,
render_markdown_path renders the resulting HTML so that any template
code within included macros (if any) is finally rendered.
2017-05-22 18:19:14 -07:00
..
__init__.py jinja2: No need for custom render_to_response. 2017-03-17 13:57:34 -07:00
backends.py app_filters: Render HTML to render Jinja2 syntax within Markdown macros. 2017-05-22 18:19:14 -07:00
compressors.py mypy: Convert several directories to use typing.Text. 2016-12-07 20:51:05 -08:00