Line Tag Reference
Practice-line instructions appear in square brackets after practice content.
- Practice content [instruction:value]Multiple instructions are separated with commas.
- Practice content [instruction:value, instruction:value]Answers
Section titled “Answers”[ans: "Answer"]Provides answer content.
[ans-en-N: "English answer"][ans-es-N: "Spanish answer"]Provides an answer with an explicit language and voice.
Translation
Section titled “Translation”[thash:]Requests translation of the front. Without a language suffix, the target language defaults to English.
[thash-en:]Requests translation of the front into English.
[thash-es:]Requests translation of the front into Spanish.
After translation, thash contains a hash associated with the translated front:
[thash:d7662631, ans-en-N: "How are you?"]Changing the front invalidates the existing hash so that the translation can be generated again.
[v:H][v:L][v:N]Selects a voice for practice content.
Speakers
Section titled “Speakers”[front:waiter][back:customer]Associates roles or speakers with the front and back.
They can be combined:
[front:waiter, back:customer]Pronunciation
Section titled “Pronunciation”[vocab: "ah-peh-YEE-doh"]Associates pronunciation guidance with vocabulary.
Visuals
Section titled “Visuals”[visual:clock.01-15][fvisual:clock.01-15][bvisual:clock.05-30]Associates visual content with a practice line or a particular side of a card.
Scenes
Section titled “Scenes”[scene:clock.06-15][fscene:clock.07-30][bscene:clock.09-45]Associates scene content with a practice line or a particular side of a card.
Scene behavior is still evolving and is documented only at an introductory level for now.
Substitution
Section titled “Substitution”Some generated content exposes values that can be substituted into other instructions.
${numbers.number}For example:
- ¿Qué número es? [ans-en-N: "The number is ${numbers.number}.", visual:numbers.1-100]Other visual families can expose their own substitution values.