On the front of the card the target word is supposed to be a different color than every other word in the sentence but for any new card I add it's not a different color. On the back of the card the target word is supposed to be the same color as whatever pitch the word is in but it isn't. Everything looks just fine on the example card though for both the front and back side of the card and the color even changes properly when the styling is edited.
#Lapis note type coloring not working
7 messages · Page 1 of 1 (latest)
Here is the styling code, when you change the hex on the bold color section, it works fine for the example card yet not for any new card made
@peak drum I think I know what's going on. I'm guessing the SentenceFurigana field in your mining cards is not being generated in such a way that the expression is surrounded by <b> tags.
Check this section of the Lapis card readme and especially the bottom paragraph: https://github.com/donkuri/lapis?tab=readme-ov-file#how-to-use-lapis
If I'm right, you need to make sure the SetenceFurigana field in your Yomitan anki card configuration is empty, and that the AJT add-on is installed and configured in Anki as documented in: https://github.com/donkuri/lapis/blob/main/docs/anki_setup.md
That's what determines how the SentenceFurigana field gets generated in a typical Lapis setup
(afaik, this is how things should already be set up if you followed the Anki setup instructions in Lazyguide: https://lazyguidejp.github.io/jp-lazy-guide/setupAnki/)
everything else is working fine with the note type the only issue im having now is the color one
Well, my best guess is that the colour issue you're seeing has something to do with the settings I've referred to above.
hey it worked, thanks again and i really should read more lol, seriously thanks for being so paitent with me
No worries, glad you were able to figure everything out 🙂 . It's not the simplest tooling stack to configure for sure