obynio / anki-japanese-furigana

Anki add-on providing support for adding furigana on Japanese text
https://ankiweb.net/shared/info/678316993
GNU General Public License v3.0
19 stars 7 forks source link

Furigana only shown in brackets, not above kanji #9

Closed emiryyy closed 2 years ago

emiryyy commented 2 years ago

I'm doing single line vocabs from novels I've been reading and the furigana doesn't seem to be hovering over the kanji as shown in your image on the anki web page. I was wondering if I missed a step in terms of setting the add-on up? (sorry I don't know a single line of code here so I'm just really confused)

obynio commented 2 years ago

Furigana generated above kanjis use HTML ruby tags. Ruby tags were a thing used by CloneFuriganaTools which inspired many Anki plugins back when Anki was not supporting bracket notation for Furigana.

Think if it as a remnant of the Anki's past. It's 2022 and Anki now supports bracket notation so I decided to switch to it. Moreover, removing support for ruby tags allowed me to remove A LOT of legacy code and better support newer versions.

As mentioned in the README

Please note this plugin will only generate furigana using the recommended bracket notation. Thus this plugin is incompatible with ruby tags generated by other tools.

obynio commented 2 years ago

We included an option to generate Furigana using ruby tags in https://github.com/obynio/anki-japanese-furigana/pull/8 Download the latest plugin update to get it, then use the options below to enable it.

furigana_menu

The issue is now resolved, I'm closing it. Feel free to reopen if you have questions.