Add parser for node text with support for headers
This commit is contained in:
parent
089b507299
commit
2f247f477b
5 changed files with 69 additions and 9 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue