Anki/pylib/anki/template
2020-01-11 20:15:31 +10:00
..
__init__.py revert the template changes for the 2.1.17 release 2020-01-11 20:15:31 +10:00
furigana.py revert the template changes for the 2.1.17 release 2020-01-11 20:15:31 +10:00
hint.py revert the template changes for the 2.1.17 release 2020-01-11 20:15:31 +10:00
LICENSE revert the template changes for the 2.1.17 release 2020-01-11 20:15:31 +10:00
README.anki revert the template changes for the 2.1.17 release 2020-01-11 20:15:31 +10:00
template.py revert the template changes for the 2.1.17 release 2020-01-11 20:15:31 +10:00
view.py revert the template changes for the 2.1.17 release 2020-01-11 20:15:31 +10:00

Anki uses a modified version of Pystache to provide Mustache-like syntax.
Behaviour is a little different from standard Mustache:

- {{text}} returns text verbatim with no HTML escaping
- {{{text}}} does the same and exists for backwards compatibility
- partial rendering is disabled for security reasons
- certain keywords like 'cloze' are treated specially