diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2021-05-17 20:18:37 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-17 20:18:37 -0400 |
commit | 76276e78dac387df66384a10bc1179c90ebd93fe (patch) | |
tree | ba11d7bf4375aa76ae45646b45953df9e71f1d78 /README.md | |
parent | 12451eaf61281e588fb8ef5f911d604ba34aca92 (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.md | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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. |