Closed hhzl closed 7 years ago
The task json2htmlCardList
constructs an intermediary file format with structured data in the folder data-export
<hr>
<article>
<span class="idOfKey">1</span>
<span class="word">antelope</span>
<span class="translate">die Antilope</span>
<span class="tags">animal</span>
<img src="c10/antelope.jpg" />
</article>
<hr>
<article>
<span class="idOfKey">2</span>
<span class="word">ant</span>
<span class="translate">die Ameise</span>
<span class="tags">animal</span>
<img src="c10/ant.jpg" />
</article>
<hr>
<article>
<span class="idOfKey">3</span>
<span class="word">baboon</span>
<span class="translate">der Pavian</span>
<span class="tags">animal</span>
<img src="c10/baboon.jpg" />
</article>
Another project may use this format to create printed versions for the flash cards.
So no YAML needed at the moment.
The specs then may be rendered with the following tasks
Alternatively we could think of using a procedural style. An example: