- Created by bikenik
- 🗓 Last Updated: 03/01/23 16:30:14
- 🌟 Stars on GitHub: 45
- Please consider supporting the creator by Starring or Sponsoring them on GitHub!
- Get Latest Release
- Get Source Code
From their README
alfred-anki
anki card generator: Create New Cards into any Decks with any "Note Type".
Install
$ npm install --global alfred-anki
or as anki.alfredworkflow
Requires: Node.js 7.6+, Alfred Powerpack, Anki intelligent flash cards, AnkiConnect plugin for Anki
Also you can consider DrLulz/Anki-Templates
Usage
- In Alfred, type
:anki
, - Enter/Click on the any field to fill it in
- Enter/Click to save current value
- the same staps to edit.
- type
:anki!
, to setting menu.
This workflow uses Markdown syntax:
- markdow-it library with Syntax highlighting (highlighjs.org),
- tag plugin for markdown-it
++inserted++ => inserted
, - tag plugin for markdown-it
==marked== => inserted
- Emojies Shortcuts (emoticons)
: :-) :-( 8-) ;)
- tag plugin for markdown-it :
*[HTML]: Hyper Text Markup Language The HTML specification
- tag plugin for markdown-it
On the card fields:
- hit ⌃ + ↩ to remeber last input after created card.
- hit ⌃ + ↩ one more time to toggle switch this option
- hit ⌥ + ↩ to reset text from all fields
- hit ⇧(shift) to preview parsed fields of card
- for line break type 'n' (with space or without), also should be handy to use 'Alfred's snippets'.
- to add imag from clipboard use Alfred snippet >>img needs install
pngpaste
-
check out another snippets
- To use your own icons for your Model's fields just you should call the
png
files the same as fields[name-of-field].png
and put it intoicons
folder of this Workflow directory. Recommended use two instances of each icon where second icon (with some mark) will be called as[name-of-field]_marked.png
for "remember last import" option.
License
MIT © bikenik