I’m trying to get hyphenation to work in Anki since I have German words in quite a large font.
I’ve been using this css setup as found somewhere on stack-overflow:
.MeaningFront{
margin-top:30vh;
font-size: 50px;
font-family: Helvetica;
color: var(--highlight)
word-break: normal;
-webkit-hyphens: auto;
-moz-hyphens: auto;
-ms-hyphens: auto;
hyphens: auto;
}
and of course I have lang=de
set on the div I want it to be applied to.
I get not result from any of this. My words break after any letter and without displaying any hyphens. Has anyone here experienced similar issues or has a similar scenario working for themselves?
Reading about hyphenation on the web I’ve seen statements that this feature is still quite browser-specific. Is Anki’s built-in browser not capable of hyphenation?
I’m running Anki 2.1.42 on Linux.
Edit: I tried this on AnkiDroid as well but no luck so I’m moving this from “Anki Desktop” to “Card Design”.