mirror of
https://github.com/ankitects/anki.git
synced 2026-01-08 03:23:54 -05:00
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>
|
||
|---|---|---|
| .. | ||
| 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.