Improve cuddly #1

Merged
hannaeko merged 8 commits from improve-cuddly into main 2026-11-16 22:58:43 +01:00
Showing only changes of commit 40378554e1 - Show all commits

fix typos in README

ariasuni 2026-11-04 00:04:21 +01:00

View file

@ -1,6 +1,6 @@
# Cuddly # Cuddly
Generate HTML and PDF from KDL structed data. Generate HTML and PDF from KDL structured data.
## Installation ## Installation
@ -85,7 +85,7 @@ my_node {
```jinja ```jinja
{% for node in my_node.other_node %} {% for node in my_node.other_node %}
{{ node.value }} {{ node.value }}
{% endofr %} {% endfor %}
``` ```
renders to renders to
@ -133,7 +133,7 @@ menu "Midnight meal" price="10 €" {
<h1>{{ value }}</h1> <h1>{{ value }}</h1>
<dl> <dl>
<dt>Price</dt> <dt>Price</dt>
<dd>{{ attributes.prices }}</dd> <dd>{{ attributes.price }}</dd>
</dl> </dl>
<dl> <dl>
@ -144,7 +144,7 @@ menu "Midnight meal" price="10 €" {
</menu> </menu>
<dish> <dish>
<div> <div>
<dt>{{ attribute.name }}</dt> <dt>{{ attributes.name }}</dt>
<dd>{{ value }}</dd> <dd>{{ value }}</dd>
</div> </div>
</dish> </dish>