-
Notifications
You must be signed in to change notification settings - Fork 123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Option to change the encoding of furigana #1195
Comments
now that I think about it, having auto pitch accent coloring would be awesome too. No idea how much of a pain that would be to implement, but I might look into it. |
Is there any reason you cant use css selectors for this? You should be able to select the rt tag in the ruby text. |
Are you manually editing the colors? Not sure how this is harder with html as opposed to brackets. It seems like you would be making the exact same additions. |
I am manually editing the colors, but I am using a plugin to set the color with a hotkey. Because of that, it is significantly less work with the brace encoding as I don't have to make sure the font tags surround the entire span tag, as I do with the html encoded furigana (the plugin also doesn't function in the html editor for the fields) |
Hi @ElaineGilstrom I think something easier for you so you don't have to edit the card manually is to install AJT Japanese, it adds furigana in the format that you want and can add color depending the pitch accent of words. For more info https://tatsumoto.neocities.org/blog/anki-japanese-support#color-coding |
Closing in favor of #1596 being much clearer in intent |
I've been noticing that it can be quite difficult to add additional formatting (like text color or bold) on top of fields with furigana formatted using the html/ruby tags compared furigana encoded using braces, so I would like to suggest adding an option to change how yomitan does the encoding in options.
Examples of what I mean are these:
html tag formatting:

brace formatting:

what I'm doing with it is adding color to represent pitch accent:

If this already exists as an option, please let me know. If it doesn't, I can work on adding it in August. I'm not very familiar with node so it might end up taking a bit though.
The text was updated successfully, but these errors were encountered: