Aleksei Fedotov
44624cd391
Add a function to create cloze from word under cursor ( #27 )
...
* anki-editor-cloze-region: Accept hint as an argument.
To allow the function to be called non-interactively accept 'hint' as function's
argument.
* Split anki-editor-cloze into interactive and non-interactive parts.
* Add anki-editor-cloze-dwim function.
Create a cloze from currently selected region, if no region selected, use word
at point.
2018-09-05 21:21:15 +08:00
Alex Henning
b533c9899c
Add support for mp3 sound links on cards ( #26 )
...
* Add support for mp3 sound links on cards
Per https://apps.ankiweb.net/docs/manual.html#importing-media the format for audio files is `[sound:myaudio.mp3]`. This allow anki-editor to export mp3 links such as `[[file:myaudio.mp3]]`in a form that they play nice with anki cards.
2018-08-12 09:52:53 +08:00
louie
325462db2e
Enable completion for ANKI_TAGS
2018-07-29 17:18:59 +08:00
louie
06a8cdccf6
Add custom variables to ignore and protect tags.
2018-07-29 13:00:12 +08:00
louie
4403cb17f1
Reenable support for setting tags via "ANKI_TAGS" property and add a variable to control whether count org tags as anki tags.
2018-07-29 11:12:23 +08:00
louie
11dbf07895
Release 0.3.2
2018-07-15 16:51:00 +08:00
louie
9e2a9b33d2
Make advicing functions only do their extra work when this mode is turned on.
2018-07-08 15:05:35 +08:00
louie
7feef4988c
Modify hook locally.
2018-07-06 21:42:24 +08:00
louie
20d61f4c63
Expose and document some functions
2018-07-06 21:21:24 +08:00
louie
683c48dfec
Refine the code that constructs notes from entries.
2018-07-01 22:35:35 +08:00
louie
38ef26aa01
Disable 'org-use-property-inheritance' temporarily when mapping over note entries.
2018-07-01 14:51:48 +08:00
louie
132aa902f3
Fixes #17
2018-06-16 16:59:32 +08:00
louie
207c55b52b
Reorder function definitions
2018-06-11 18:00:19 +08:00
louie
1477ee4b2f
Release 0.3
2018-06-10 21:40:51 +08:00
louie
5bcb946406
Hack with the sync mode of request.el
2018-06-10 21:38:08 +08:00
louie
097c212b97
Remove "anki-editor-insert-deck" function
2018-06-08 23:04:27 +08:00
louie
4ac43c52d0
Fix html link transcoder
2018-05-22 21:09:36 +08:00
louie
fbf45e6df8
Fix broken code
2018-05-20 19:33:38 +08:00
louie
7b4076dbfc
Combine multiple actions in one http request.
2018-05-17 23:09:50 +08:00
louie
8a1cfd3bfe
Use request.el to make http requests
2018-05-13 15:53:08 +08:00
louie
3cf37e7c80
Supress echo message from "org-babel-exp-src-block" when submitting
2018-05-07 23:25:05 +08:00
louie
795d1e461c
Improve the submission function
2018-05-07 21:09:52 +08:00
louie
38e51040f7
Turn this package into a minor mode
2018-05-07 17:05:46 +08:00
louie
9a8bcded5a
Use property to specify deck instead of tagging headline with 'deck'
2018-05-06 23:04:02 +08:00
louie
1fc0dab8ea
Warn about Anki tags that are not valid Org tags
2018-05-06 16:46:54 +08:00
louie
66889e6471
Use Org tags as Anki tags.
2018-05-06 14:12:08 +08:00
louie
be212c74d8
Url-decode file path when working with shell commands
2018-05-03 20:04:55 +08:00
louie
6ad510441d
Add a customazation variable for creating decks.
2018-04-15 15:36:58 +08:00
louie
f8665794f9
Inherit tags from ancestor headings.
2018-04-15 15:31:45 +08:00
louie
c2fa4c5819
Bump version to 0.2.1
2018-02-10 22:33:05 +08:00
louie
5f7e38929e
Simplify and rename exporting command
2018-02-10 22:18:13 +08:00
louie
7270842948
Optimize tag command
2018-02-10 22:18:13 +08:00
louie
46461874b3
Translate links to file
2018-02-10 22:18:13 +08:00
louie
87ad9eaf69
Show progress when submitting
2018-02-04 14:39:26 +08:00
louie
98ef69c35f
Bump version
2018-02-04 11:27:58 +08:00
louie
647df92aec
Add a custom variable to break consective braces in latex
2018-02-04 11:22:55 +08:00
louie
ded1e14a6e
Refactor code
2018-02-04 09:10:40 +08:00
louie
8523ddb9c1
Add a command to cloze region
2018-01-31 23:12:25 +08:00
louie
971181df30
Enable Org major mode in temp buffer before using org-element
2018-01-31 21:49:24 +08:00
louie
690121ce58
Bump version to 0.1.2 and add change log
2018-01-28 17:29:35 +08:00
louie
8e81543781
Fix elements being joined together after replacing
2018-01-28 16:04:20 +08:00
louie
9ef7759fa7
Make insertion commands more smart
2018-01-28 12:58:36 +08:00
louie
763c0368a6
Merge branch 'master' into develop
2018-01-22 15:29:33 +08:00
louie
473c0821a4
Remove minor mode and default keybindings
2018-01-22 12:40:15 +08:00
louie
f9fbb422f2
Add autoload magic comment
2018-01-22 00:04:28 +08:00
louie
bd133c1ea5
Updates for melpa
2018-01-21 19:22:42 +08:00
louie
371db8de5c
Use org-map-entries
to iterate headings
2018-01-20 22:10:00 +08:00
louie
5fb4b60026
Turn on Org-mode in temp buffer
2018-01-20 20:51:13 +08:00
louie
620d904d28
Hoist macro definition
2018-01-19 20:32:28 +08:00
louie
b95108ef3c
Add docstrings for subroutines
2018-01-19 20:21:06 +08:00
louie
07218efc44
Fix issues related to packing
2018-01-18 22:16:03 +08:00
louiet
60d0540aca
Rename variavbles
2018-01-18 17:21:49 +08:00
louie
545eb6ed08
Simplify code
2018-01-16 22:08:33 +08:00
louie
c7ed5f352b
Add a command to insert tags
2018-01-16 20:00:19 +08:00
louie
e3196d3554
Trivial changes
2018-01-15 23:35:16 +08:00
louie
9d5dcc6a53
Reword command description
2018-01-15 13:43:42 +08:00
louie
019baa35f8
Add a command to upgrade anki-connect
2018-01-15 13:05:23 +08:00
louie
07c34fd5d2
Add support for updating note tags
2018-01-15 13:01:24 +08:00
louie
761e2c29cc
Fix broken code
2018-01-14 16:17:50 +08:00
louie
de960938f2
Finish the support for note modification and improve error handling.
2018-01-14 15:53:27 +08:00
louie
1b73372d67
[WIP] Support note modification
2018-01-14 00:02:23 +08:00
louie
f23cf0994d
Better support for latex
2018-01-08 18:20:11 +08:00
louie
ed80e1c25f
Add a command to convert region to HTML
2018-01-07 18:22:53 +08:00
louie
873e3dfaa3
Make commands autoloadable
2018-01-07 17:49:22 +08:00
louie
4ead4b8b05
Change input of hash
2018-01-07 17:32:08 +08:00
louie
b5c91bc390
Insert deck after selected
2018-01-07 15:10:55 +08:00
louie
d5fcb1f056
Correct mistake in doc string
2018-01-07 11:07:41 +08:00
louie
196800efaa
Add doc strings.
2018-01-07 10:51:18 +08:00
louie
e489e729e2
Deck insertion command accepts a prefix to only insert deck name
2018-01-07 09:57:41 +08:00
louie
b57bd89291
Add a command to convert field contents to html
2018-01-06 21:03:05 +08:00
louie
93bf5a1c01
Improve insertion commands
2018-01-06 20:31:36 +08:00
louie
19d21cdc57
Adjust default keybindings
2018-01-06 00:19:40 +08:00
louie
cd25a6a437
Add a command to insert notes
2018-01-06 00:15:37 +08:00
louie
9922313a9a
Add a command to insert decks
2018-01-06 00:14:42 +08:00
louietan
23d022a0a1
Initial commit
2018-01-05 00:10:23 +08:00