Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

template is not parsed in or before rst-plugin #40

Open
Farom opened this issue Dec 1, 2022 · 0 comments
Open

template is not parsed in or before rst-plugin #40

Farom opened this issue Dec 1, 2022 · 0 comments

Comments

@Farom
Copy link
Contributor

Farom commented Dec 1, 2022

When writing a page in rst, i do things like

{% for l in [1,2,3,4] -%}
* Test{{l}}tseT
{% endfor %} 

I actually iterate over context.contents but this is enough as a simple test case.

I expect the rst to be rendered to

* Test1tseT
* Test2tseT
* Test3tseT
* Test4tseT

and this renders to a fine unordered list.

but i can see, that this is rendered to html first:

<div class="section" id="fehlererzeugung-bei-rst-jinja">
{% for a in [1,2,3,4] %}
* Test{{a}}tseT
{% endfor %}</div>
</div>

and is not interpreted as rst.

@Farom Farom changed the title template is not parsed in rst-plugin template is not parsed in or before rst-plugin Dec 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant