restructuredtext does not recognise html statement and treat them like text. you have to include them in a raw paragraph like that:
.. raw:: html
so that there are outputted like html.
so this cause problem when you use _restructuredtex_t and you have {% article %} or {%excerpt %} tag in the middle of a {% restructuredtext %} block because all the html comment HYDE tag are rendered in html.
For example:
{% block article %}
{% restructuredtext %}
{% article %}
{% excerpt %}
This is a test
{% endexcerpt %}
This should show how article and excerpt (django) tags normally rendered in html comment are shown in plain html while inside restructuredtext block
{% endarticle %}
{% endrestructuredtext %}
{% endblock article %}
is rendered in html as :
<p><!-- Hyde::Article::Begin --></p>
<p><!-- Hyde::Excerpt::Begin --></p>
<p>This is a test
<!-- Hyde::Excerpt::End -->
This should show how article and excerpt (django) tags normally rendered in html comment are shown in plain html while inside restructuredtext block
<!-- Hyde::Article::End --></p>
one have to use {% restruturedtext %} block at lowest level possible and use article and excerpt blocks on the outer level of restructured text block.
i guess that the same problem could be find with textitle and asciidoc if they can't recognize html statement and do treat them like text.
restructuredtext does not recognise html statement and treat them like text. you have to include them in a raw paragraph like that:
so that there are outputted like html.
so this cause problem when you use _restructuredtex_t and you have {% article %} or {%excerpt %} tag in the middle of a {% restructuredtext %} block because all the html comment HYDE tag are rendered in html.
For example:
{% block article %} {% restructuredtext %} {% article %} {% excerpt %} This is a test {% endexcerpt %} This should show how article and excerpt (django) tags normally rendered in html comment are shown in plain html while inside restructuredtext block {% endarticle %} {% endrestructuredtext %} {% endblock article %}is rendered in html as :
one have to use {% restruturedtext %} block at lowest level possible and use article and excerpt blocks on the outer level of restructured text block.
i guess that the same problem could be find with textitle and asciidoc if they can't recognize html statement and do treat them like text.