I switched to kotlin for generating the html at first just so I could do ${someVariable}, but after a few minutes I discovered kotlinx html, so started using that instead.
Bonus fact 1: I don't know any kotlin! I just googled some kotlin code, and just continued to do whatever it did. I don't know how those { it.someThing } things work, or anything kotlin specific. Despite that, I've managed to write a total of 683 lines of kotlin code.
Bonus fact 2: I don't know any html, css, or javascript either! I've just been kind of guessing, googling how to make text italic in html, and stuff like it. Literally just "throwing stuff at the wall and seeing what sticks".