mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
![]() This is paving the way to move the standard filters into Rust. Non-empty fields are now determined in Rust, using a single regex instead of the overkill stripHTMLMedia(). The old implementation has been moved into the Pystache code for now. |
||
---|---|---|
.. | ||
__init__.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