Anki/pylib/anki/template
Damien Elmes 1f2e00690f move the rest of Anki's code out of pystache
In the process of factoring out the field filtering, the "extra"
and "fullname" args are just passed in as a blank string now.
Extra was functionality that allowed a field modifier to be defined
as "filtername(arg1,arg2):field", and fullname was the name of the
field including any provided field modifiers. From grepping through
the add-ons on AnkiWeb, neither appears to have been used.
2020-01-08 17:15:46 +10:00
..
__init__.py move furigana/hint filters into template2 2020-01-08 12:30:08 +10:00
LICENSE tweaking the folder names again 2020-01-03 07:48:38 +10:00
README.anki tweaking the folder names again 2020-01-03 07:48:38 +10:00
template.py move the rest of Anki's code out of pystache 2020-01-08 17:15:46 +10:00
view.py tweaking the folder names again 2020-01-03 07:48:38 +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