summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-05-17 20:18:37 -0400
committerGitHub <noreply@github.com>2021-05-17 20:18:37 -0400
commit76276e78dac387df66384a10bc1179c90ebd93fe (patch)
treeba11d7bf4375aa76ae45646b45953df9e71f1d78 /README.md
parent12451eaf61281e588fb8ef5f911d604ba34aca92 (diff)
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
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/README.md b/README.md
index 922176bb..843ccf98 100644
--- a/README.md
+++ b/README.md
@@ -176,6 +176,7 @@ Flashcard fields can be configured with the following steps:
`{pitch-accent-positions}` | List of accent downstep positions for the term as a number.
`{reading}` | Kana reading for the term (empty for terms where the expression is the reading).
`{screenshot}` | Screenshot of the web page taken at the time the term was added.
+ `{search-query}` | The full search query shown on the search page.
`{sentence}` | Sentence, quote, or phrase that the term appears in from the source content.
`{tags}` | Grammar and usage tags providing information about the term (unavailable in *grouped* mode).
`{url}` | Address of the web page in which the term appeared in.
@@ -197,6 +198,7 @@ Flashcard fields can be configured with the following steps:
`{kunyomi}` | Kunyomi (Japanese reading) for the kanji expressed as katakana.
`{onyomi}` | Onyomi (Chinese reading) for the kanji expressed as hiragana.
`{screenshot}` | Screenshot of the web page taken at the time the kanji was added.
+ `{search-query}` | The full search query shown on the search page.
`{sentence}` | Sentence, quote, or phrase that the character appears in from the source content.
`{stroke-count}` | Number of strokes that the kanji character has.
`{url}` | Address of the web page in which the kanji appeared in.