Skip to content

Instantly share code, notes, and snippets.

@cesartalves
Created March 10, 2025 18:46
Show Gist options
  • Save cesartalves/a93dd7f03375a48bdb26b93e97589fff to your computer and use it in GitHub Desktop.
Save cesartalves/a93dd7f03375a48bdb26b93e97589fff to your computer and use it in GitHub Desktop.
PITCH ACCENT color codes for Anki cards! https://cesartalvez.com
<!-- You can drop this into the Nihongo 2000 Core and it works! Just remember to add the Pitch Pattern field -->
<a
class="{{Pitch Pattern}}"
href="https://www.gavo.t.u-tokyo.ac.jp/ojad/search/index/sortprefix:accent/narabi1:kata_asc/narabi2:accent_asc/narabi3:mola_asc/yure:visible/curve:invisible/details:invisible/limit:20/word:{{Vocabulary-Kanji}}">
pitch
</a>
a.atamadaka {
color:red;
}
a.heiban {
color:blue;
}
a.nakadaka {
color:orange;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment