Commit graph

3 commits

Author SHA1 Message Date
orgtre
6404abb473 Add ANKI_PREPEND_HEADING property, update toggling
It is retrieved with inheritance and if set takes precedence
over the variable `anki-editor-prepend-heading`.

Also add a function to toggle it and change the behavior
of `anki-editor-toggle-format` to match it: Now every call
to the toggling functions will actually toggle the value in
effect and an entry property is only set if necessary.
2022-11-19 00:45:07 +01:00
orgtre
0928dd6465 Add anki-editor-delete-note-at-point
It improves upon `anki-editor-delete-notes` when deleting note at
point, allowing aribtrary position in the note when calling it,
and also allowing deletion in Org. `anki-editor-delete-notes` is
removed.
2022-11-15 23:59:46 +01:00
orgtre
6ae4420e2a Add transient interface
Create a transient user interface for all anki-editor commands.
See orgtre/anki-editor#13 for discussion.
2022-11-13 19:47:18 +01:00