You could use it for pinyin annotations too, or really any combination of scripts.
睾丸 に豚の糞
猪蛋蛋上的粪便
фекалии на свиных яйцах
People were just talking about this in a thread earlier but I can't find it anymore. Figured this would be a good place for it.
Check out the source code of this post. It actually looks for space characters after the pipe symbol and uses that to group the furigana. It's actually easiest to use for Chinese, Japanese is a bit more work, and alphabetical scripts are pretty time consuming, because you have to mark up each word with brackets and pipes, spaces don't cut it.
what is lemmy I keep seeing people talking about it
hexbear was built off code similar to lemmy, and then we semi-merged with the actual site, implementing the proper lemmy base code plus more neatly separated code for the custom functionality here. This allowed cross posting,