Add parser for node text with support for headers

This commit is contained in:
Juno Takano 2025-12-15 19:37:35 -03:00
commit 2f247f477b
5 changed files with 69 additions and 9 deletions

View file

@ -6,9 +6,7 @@
<section>
<h1>{{ title }}</h1>
<code style="display: inline;">ID: {{ id }}</code>
{% for line in text | split(pat="\n") %}
{% if line %} <p>{{ line }}</p> {% endif %}
{% endfor %}
{{ text | safe }}
</section>
{% if connections or incoming %}
<aside>