zakvdm.org

Kanji Stroke Orders in Anki!

Just a quick note for anyone studying kanji (especially if you’re doing a variant of heisig). You can download a font which includes stroke orders here.

With a simple change to my Anki model, all my kanji cards now include stroke order diagrams. Nice!

If you’re curious, here’s how I changed the card:

Back Template

Include something like:

1
<span class="kanji"></span>

Styling

Include the following css:

1
2
3
4
5
.kanji {
  font-family: KanjiStrokeOrders;
  font-size: 150px;
  color: #e56727;
}

This is for Anki 2.0 by the way, but you could do something similar with earlier versions. The only really critical part is setting the font-family to KanjiStrokeOrders.

Comments