Closed heeckhau closed 1 year ago
@heeckhau the problem is that Urubu allows templating code in the Markdown files as well. To do this, it needs to call Jinja twice: once before converting markdown to HTML, then again after the conversion. Jinja looks for {{ }}
to substitute with variables so any occurrence of it will cause an error.
You can use {% raw %} ... {% endraw %}
blocks around the code block to keep jinja from trying to process it as template code. See http://jinja.pocoo.org/docs/2.10/templates/#escaping
Probably related to this: http://urubu.jandecaluwe.com/manual/templating-in-pages.html#template-delimiters
The attached markdown file (bug.zip) results in following error because of "{{{" "}}}" in fenced code blocks:
I could work around the issue by adding zero-width spaces between the braces