mirror of
https://github.com/ankitects/anki.git
synced 2025-11-08 05:37:12 -05:00
UTF-8 is the default as of Python 3. See: https://docs.python.org/3/reference/lexical_analysis.html#encoding-declarations |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| furigana.py | ||
| hint.py | ||
| LICENSE | ||
| README.anki | ||
| template.py | ||
| view.py | ||
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