Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/crashmoney/anki.vim
A lightweight Vim plugin for syntax-highlighting Anki flashcards in plain-text.
https://github.com/crashmoney/anki.vim
anki vim vim-plugin vim-syntax
Last synced: 6 days ago
JSON representation
A lightweight Vim plugin for syntax-highlighting Anki flashcards in plain-text.
- Host: GitHub
- URL: https://github.com/crashmoney/anki.vim
- Owner: crashmoney
- License: gpl-3.0
- Created: 2024-05-05T07:02:46.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-05-05T07:05:52.000Z (6 months ago)
- Last Synced: 2024-10-10T12:43:42.159Z (26 days ago)
- Topics: anki, vim, vim-plugin, vim-syntax
- Language: Vim Script
- Homepage:
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# anki.vim
A lightweight syntax-highlight plugin for writing Anki flashcards in plain-text files
- recognizes the file extension `.anki.txt`
- compatible with both Vim and NeoVim## Syntax Notes
- assumes HTML usage for card formatting (e.g. `bold text`, `
` for line breaks)
- each line corresponds to one card
- comments are preceded by a hash (e.g. `# a comment here`)
- card reverses are marked by colons (e.g. `front of card?:back of card`)## Installation
### using [vim-plug](https://github.com/junegunn/vim-plug)
```
Plug "crashmoney/anki.vim"
```### using lazy.nvim
```
{
"crashmoney/anki.vim"
}
```## Development
The plugin is functional. I may add features in future as the need arises, but feel free to [open an issue](https://github.com/crashmoney/anki.vim/issue/new) 😄