From 9d5dcc6a53a65670396de15b81566190a1bd7e55 Mon Sep 17 00:00:00 2001 From: louie Date: Mon, 15 Jan 2018 13:43:42 +0800 Subject: [PATCH] Reword command description --- README.org | 18 +++++++++--------- anki-editor.el | 7 +++---- 2 files changed, 12 insertions(+), 13 deletions(-) diff --git a/README.org b/README.org index 9843e39..39783de 100644 --- a/README.org +++ b/README.org @@ -18,15 +18,15 @@ anki-editor -- an Emacs package that helps you create Anki cards in Org-mode org-mode's html backend, with the latex syntax translated to the Anki style 4. Command Cheat Sheet - | Command | Keybinding | Description | - |-----------------------------------------------+------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| - | =anki-editor-setup-default-keybindings= | N/A | Set up default keybindings. | - | =anki-editor-submit= | C-c a s | Send notes in current buffer to Anki. | - | =anki-editor-insert-deck= | C-c a i d | Insert a deck heading with the same level as current heading. With prefix, only insert the deck name. | - | =anki-editor-insert-note= | C-c a i n | Insert a note heading that's one level lower to current heading. The inserted heading will be structured with the property drawer and subheadings that correspond to the fields of the selected note type. | - | =anki-editor-export-heading-contents-to-html= | C-c a e | Export the contents of the heading at point to HTML. | - | =anki-editor-convert-region-to-html= | N/A | Convert and replace region to HTML. | - | =anki-editor-anki-connect-upgrade= | N/A | Upgrade anki-connect to the latest version. This will display a confirmation dialog box in Anki asking if you want to continue. The upgrading is done by downloading the latest code in the master branch of its Github repo. This is useful when new version of this package depends on the bugfixes or new features of anki-connect. | + | Command | Keybinding | Description | + |-----------------------------------------------+------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------| + | =anki-editor-setup-default-keybindings= | N/A | Set up default keybindings. | + | =anki-editor-submit= | C-c a s | Send notes in current buffer to Anki. | + | =anki-editor-insert-deck= | C-c a i d | Insert a deck heading with the same level as current heading. With prefix, only insert the deck name. | + | =anki-editor-insert-note= | C-c a i n | Insert the skeleton of a note, which is structured with a note heading one level lower to the current one as well as subheadings that correspond to fields. | + | =anki-editor-export-heading-contents-to-html= | C-c a e | Export the contents of the heading at point to HTML. | + | =anki-editor-convert-region-to-html= | N/A | Convert and replace region to HTML. | + | =anki-editor-anki-connect-upgrade= | N/A | Upgrade anki-connect to the latest version. This will display a confirmation dialog box in Anki asking if you want to continue. | *Not a native speaker, hope this README is clear enough. Happy hacking :)* diff --git a/anki-editor.el b/anki-editor.el index 434363a..b57b923 100644 --- a/anki-editor.el +++ b/anki-editor.el @@ -89,10 +89,9 @@ With prefix, only insert the deck name." ;;;###autoload (defun anki-editor-insert-note () - "Insert a note heading that's one level lower to current heading. -The inserted heading will be structured with the property drawer -and subheadings that correspond to the fields of the selected -note type." + "Insert the skeleton of a note, which is structured with a note +heading one level lower to the current one as well as subheadings +that correspond to fields." (interactive) (message "Fetching note types...") (let* ((response (anki-editor--anki-connect-invoke "modelNames" 5))