From 76276e78dac387df66384a10bc1179c90ebd93fe Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Mon, 17 May 2021 20:18:37 -0400 Subject: Expose search query to anki template renderer (#1686) * Expose query and fullQuery to Anki context * Add {search-query} marker * Update test data * Update tests * Wrap search query in multiLine --- ext/settings.html | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ext/settings.html') diff --git a/ext/settings.html b/ext/settings.html index 1b167e22..aade3345 100644 --- a/ext/settings.html +++ b/ext/settings.html @@ -2877,6 +2877,10 @@ {screenshot} Screenshot of the web page taken at the time the term or kanji was added. + + {search-query} + The full search query shown on the search page. + {sentence} Sentence, quote, or phrase that the term or kanji appears in from the source content. -- cgit v1.2.3