mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22:22 -04:00
![]() * add support for comments to templates * add tests * add support for comments to CardLayout * fix lints * revert current impl * extract parsing logic from legacy_text_token * add support for comments to templates * add tests * refactor take_until_handlebar_start_or * remove redundant rest * Require full subclause match when locating next token (dae) * Rework legacy template handling (dae) The handlebar parser is now an instance method of a TemplateMode enum, allowing us to avoid duplicate code for the legacy code path, and the necessity to box up the iterator. This does result in a change in behaviour: when the user has specified the alternate syntax, the standard syntax will no longer be accepted. * Remove stale comment (dae) |
||
---|---|---|
.. | ||
benches | ||
i18n | ||
io | ||
linkchecker | ||
process | ||
proto | ||
proto_gen | ||
src | ||
sync | ||
tests/support | ||
.gitignore | ||
bench.sh | ||
build.rs | ||
Cargo.toml | ||
README.md | ||
rust_interface.rs |
Anki's Rust code.