Month: May 2023

May 22, 2023

Rendering Furigana in native Javascript

I got very used to writing Japanese with Furigana in Obsidian with the help of a plugin that took something like {漢字|かん|じ} and rendered it into the appropriate <ruby> and <rt> tags. I wanted a minimal javascript that could do the same without relying on a platform. So I adapted the code from the plugin and made it.