I am very much a beginner, and one of my learning methods is to listen to audio and follow along in text. But generally, my texts are in Hànzì.
It's easy enough to convert Hànzì to pīnyīn but I want to start getting familiar with the Hànzì also. Manually merging Hànzì and pīnyīn into ruby tags looks like a tedious job. I could write a program to do it, but I suspect someone already has done so. However, thanks to the programming language called Ruby, finding it in a web search is the proverbial "needle in haystack."
I realize that such a program could get up to 23% wrong, but manually correcting such errors will be far less tedious than manually generating the entire document. Using a font with the Ruby built-in is undesirable because then the errors cannot be corrected.
I understand that Firefox and Opera support is lagging, but since the results are for my own use, that doesn't matter. (And if I ever need to pass on a conversion, I can print to PDF.)_
So, where can I find such a converter? Or if someone is working on one, perhaps I could help.
I see that Japanese.SE has a markup for furigana that has a much simpler syntax than HTML5's Ruby.