Created
May 5, 2018 00:51
-
-
Save TwoSlick/57f6ffa7c193925ff4189954e07a9ed9 to your computer and use it in GitHub Desktop.
Anki Kanji template
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div class="back" lang="ja"> | |
| <span class="large japanese">{{kanji}}</span> | |
| <hr> | |
| <span class="medium"><a href="http://jisho.org/kanji/details/{{kanji}}">{{keyword}}</a></span> | |
| <br/><br/> | |
| {{strokeDiagram}}<br/><br/> | |
| <span class="tiny"><a href="http://kanji.koohii.com/study/kanji/{{kanji}}">Constituents:</a> {{constituent}}</span><br/><br/> | |
| <span class="medium">{{myStory}}</span> | |
| <hr> | |
| <span class="tiny">Lesson: {{lessonNo}} Frame: {{frameNoV6}} Strokes: {{strokeCount}} — Jouyou Grade: {{jouYou}} JLPT: {{jlpt}}</span><br/> | |
| <!-- Uncomment for Heisig Story | |
| <hr> | |
| <span class="medium">{{heisigStory}}</span> | |
| {{#heisigComment}}<br/><br/><span class="small">{{heisigComment}}</span>{{/heisigComment}} | |
| --> | |
| <!-- Uncomment for koohi Story | |
| <hr/> | |
| <span class="medium">{{koohiiStory1}}</span> | |
| --> | |
| <hr/> | |
| <!-- Uncomment for On-Yomi and Kun-Yomi | |
| <span class="small">On-Yomi: <span class="medium japanese">{{onYomi}}</span> Kun-Yomi: <span class="medium japanese">{{kunYomi}}</span></span><br/> | |
| --> | |
| {{#readingExamples}}<span class="tiny">Examples: <span class="japanese">{{readingExamples}}</span></span>{{/readingExamples}} | |
| </div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div class="front" lang="ja"> | |
| <span class="large japanese">{{keyword}}</span> | |
| </div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| div.front, div.back { | |
| text-align: center; | |
| font-family: sans-serif; | |
| font-size: 16px; /* line height is based on this size in Anki for some reason, so start with the smallest size used */ | |
| } | |
| span.tiny {font-size: 16px;} | |
| span.small {font-size: 24px;} | |
| span.medium {font-size: 32px;} | |
| span.large {font-size: 64px;} | |
| span.italic {font-style: italic;} | |
| .win .japanese {font-family: "Meiryo", "MS Mincho";} | |
| .mac .japanese {font-family: "Hiragino Mincho Pro";} | |
| .linux .japanese {font-family: "Kochi Mincho";} | |
| .mobile .japanese {font-family: "Motoya L Cedar", "Motoya L Maru", "DroidSansJapanese", "Hiragino Mincho ProN";} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment