Anki/rslib
Ambroise Paré 6063398ece feat: add native markdown template filter
Add {{markdown:Field}} and {{md:Field}} template filters that convert
markdown syntax to HTML using the existing pulldown-cmark dependency.

Features:
- GFM tables support (| col1 | col2 |)
- Strikethrough (~~text~~)
- Task lists (- [ ] and - [x])
- Footnotes ([^1])
- Fenced code blocks with language hints
- Smart punctuation

Also adds {{markdown-inline:Field}} / {{md-inline:Field}} variants
that strip outer <p> tags for inline content.

The filter leverages Anki's existing pulldown-cmark 0.13.0 dependency,
requiring no new dependencies.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-02 18:14:46 +01:00
..
benches Update Rust and Python deps (#2567) 2023-07-01 18:26:43 +10:00
i18n fix(build): treat proto/i18n's implicit outputs as inputs (#4439) 2025-12-16 19:38:18 +03:00
io fix(build): treat proto/i18n's implicit outputs as inputs (#4439) 2025-12-16 19:38:18 +03:00
linkchecker Fixes for Rust 1.89 2025-09-01 14:55:49 +10:00
process Provide better output when downloading versions fails 2025-07-24 20:23:43 +07:00
proto Fix/Exclude BackendFrontendService from write_python_interface (#4410) 2025-10-29 20:15:56 +03:00
proto_gen lazy_static → once_cell → stabilized versions (#3447) 2024-09-30 23:35:06 +10:00
src feat: add native markdown template filter 2026-01-02 18:14:46 +01:00
sync Refactor launcher + various tweaks 2025-06-27 16:10:12 +07:00
tests/support move linkchecker into separate crate 2021-12-20 17:27:43 +10:00
.gitignore initial Bazel conversion 2020-11-01 14:26:58 +10:00
bench.sh Update Rust and Python deps (#2567) 2023-07-01 18:26:43 +10:00
build.rs Fix building outside workspace 2023-07-02 18:22:44 +10:00
Cargo.toml Feat/Desired retention info graphs (#4199) 2025-07-28 18:55:08 +10:00
README.md Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
rust_interface.rs Update to Rust 1.88 2025-06-29 11:50:49 +07:00

Anki's Rust code.