summaryrefslogtreecommitdiff
path: root/ext/settings.html
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-07-07 20:00:30 -0400
committerGitHub <noreply@github.com>2021-07-07 20:00:30 -0400
commit315dc425e489dc96c2f2d4e13b500105d724ec52 (patch)
tree380f1f793b158d5a7652dd08fa0cd10d7378679f /ext/settings.html
parent9935e154f1d2d9881c636b9a93f9d31b04621287 (diff)
Anki card selected text (#1809)
* Add support for injecting the text selection into Anki cards * Add selection-text * Upgrade to add {selection-text} * Update descriptions * Update test data
Diffstat (limited to 'ext/settings.html')
-rw-r--r--ext/settings.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/settings.html b/ext/settings.html
index d8d31039..49bcd722 100644
--- a/ext/settings.html
+++ b/ext/settings.html
@@ -2859,6 +2859,10 @@
<td>The full search query shown on the search page.</td>
</tr>
<tr>
+ <td><code class="anki-field-marker">{selection-text}</code></td>
+ <td>The selected text on the search page or popup.</td>
+ </tr>
+ <tr>
<td><code class="anki-field-marker">{sentence}</code></td>
<td>Sentence, quote, or phrase that the term or kanji appears in from the source content.</td>
</tr>