Skip to content

Instantly share code, notes, and snippets.

@MinmoTech
Created January 5, 2020 13:46
Show Gist options
  • Save MinmoTech/53efeb917b4ce29a2801a900de014049 to your computer and use it in GitHub Desktop.
Save MinmoTech/53efeb917b4ce29a2801a900de014049 to your computer and use it in GitHub Desktop.
MIA Japanese Anki Template
<div class="tags">
例文{{#Tags}}|{{/Tags}}{{Tags}}</span>
</div>
{{#Audio on Front}}<span class="expression-field">{{Audio}}</span><hr>{{/Audio on Front}}
<span class="expression-field"><div display-type="coloredkanjireading" class="wrapped-japanese">{{Expression}}</div></span>
{{^Audio on Front}}<hr>{{/Audio on Front}}
{{^Audio on Front}}<div class="meaning-field"><div display-type="coloredhover" class="wrapped-japanese">{{Meaning}}</div></div>{{/Audio on Front}}
{{#Audio on Front}}<div class="meaning-field padded-top"><div display-type="coloredhover" class="wrapped-japanese">{{Meaning}}</div></div>{{/Audio on Front}}
{{^Audio on Front}}{{Audio}}{{/Audio on Front}}
<div class="tags">
例文{{#Tags}}|{{/Tags}}{{Tags}}</span>
</div>
{{^Audio on Front}}<span class="expression-field"><div display-type="coloredhover" class="wrapped-japanese">{{Expression}}</div></span>{{/Audio on Front}}
{{#Audio on Front}}{{#Audio}}<span class="expression-field">{{Audio}}</span>{{/Audio}}{{/Audio on Front}}
{{#Audio on Front}}{{^Audio}}<span class="expression-field"><div display-type="coloredhover" class="wrapped-japanese">{{Expression}}</div></span>{{/Audio}}{{/Audio on Front}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment