Fix order of {screenshot} tag
This commit is contained in:
parent
55b2c1d8f5
commit
2bfc7e3972
@ -162,10 +162,10 @@ Flashcard fields can be configured with the following steps:
|
|||||||
`{furigana-plain}` | Term expressed as Kanji with Furigana displayed next to it in brackets (e.g. 日本語[にほんご]).
|
`{furigana-plain}` | Term expressed as Kanji with Furigana displayed next to it in brackets (e.g. 日本語[にほんご]).
|
||||||
`{glossary}` | List of definitions for the term (output format depends on whether running in *grouped* mode).
|
`{glossary}` | List of definitions for the term (output format depends on whether running in *grouped* mode).
|
||||||
`{reading}` | Kana reading for the term (empty for terms where the expression is the reading).
|
`{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.
|
||||||
`{sentence}` | Sentence, quote, or phrase in which the term appears in the source content.
|
`{sentence}` | Sentence, quote, or phrase in which the term appears in the source content.
|
||||||
`{tags}` | Grammar and usage tags providing information about the term (unavailable in *grouped* mode).
|
`{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.
|
`{url}` | Address of the web page in which the term appeared in.
|
||||||
`{screenshot}` | Screenshot of the web page taken at the time the term was added.
|
|
||||||
|
|
||||||
#### Markers for Kanji Cards ####
|
#### Markers for Kanji Cards ####
|
||||||
|
|
||||||
@ -179,9 +179,9 @@ Flashcard fields can be configured with the following steps:
|
|||||||
`{glossary}` | List of definitions for the Kanji.
|
`{glossary}` | List of definitions for the Kanji.
|
||||||
`{kunyomi}` | Kunyomi (Japanese reading) for the Kanji expressed as Katakana.
|
`{kunyomi}` | Kunyomi (Japanese reading) for the Kanji expressed as Katakana.
|
||||||
`{onyomi}` | Onyomi (Chinese reading) for the Kanji expressed as Hiragana.
|
`{onyomi}` | Onyomi (Chinese reading) for the Kanji expressed as Hiragana.
|
||||||
|
`{screenshot}` | Screenshot of the web page taken at the time the Kanji was added.
|
||||||
`{sentence}` | Sentence, quote, or phrase in which the character appears in the source content.
|
`{sentence}` | Sentence, quote, or phrase in which the character appears in the source content.
|
||||||
`{url}` | Address of the web page in which the Kanji appeared in.
|
`{url}` | Address of the web page in which the Kanji appeared in.
|
||||||
`{screenshot}` | Screenshot of the web page taken at the time the Kanji was added.
|
|
||||||
|
|
||||||
When creating your model for Yomichan, *please make sure that you pick a unique field to be first*; fields that will
|
When creating your model for Yomichan, *please make sure that you pick a unique field to be first*; fields that will
|
||||||
contain `{expression}` or `{character}` are ideal candidates for this. Anki does not require duplicate flashcards to be
|
contain `{expression}` or `{character}` are ideal candidates for this. Anki does not require duplicate flashcards to be
|
||||||
|
@ -342,10 +342,10 @@ async function dictFieldFormat(field, definition, mode, options) {
|
|||||||
'kunyomi',
|
'kunyomi',
|
||||||
'onyomi',
|
'onyomi',
|
||||||
'reading',
|
'reading',
|
||||||
|
'screenshot',
|
||||||
'sentence',
|
'sentence',
|
||||||
'tags',
|
'tags',
|
||||||
'url',
|
'url'
|
||||||
'screenshot'
|
|
||||||
];
|
];
|
||||||
|
|
||||||
for (const marker of markers) {
|
for (const marker of markers) {
|
||||||
|
@ -607,10 +607,10 @@ async function ankiFieldsPopulate(element, options) {
|
|||||||
'glossary',
|
'glossary',
|
||||||
'glossary-brief',
|
'glossary-brief',
|
||||||
'reading',
|
'reading',
|
||||||
|
'screenshot',
|
||||||
'sentence',
|
'sentence',
|
||||||
'tags',
|
'tags',
|
||||||
'url',
|
'url'
|
||||||
'screenshot'
|
|
||||||
],
|
],
|
||||||
'kanji': [
|
'kanji': [
|
||||||
'character',
|
'character',
|
||||||
@ -618,6 +618,7 @@ async function ankiFieldsPopulate(element, options) {
|
|||||||
'glossary',
|
'glossary',
|
||||||
'kunyomi',
|
'kunyomi',
|
||||||
'onyomi',
|
'onyomi',
|
||||||
|
'screenshot',
|
||||||
'sentence',
|
'sentence',
|
||||||
'tags',
|
'tags',
|
||||||
'url'
|
'url'
|
||||||
|
Loading…
Reference in New Issue
Block a user