@Ramin Honary I was using html-ts-mode + combobulate and it was a fun experiment.
https://github.com/mickeynp/combobulateHowever, the problem is not in HTML/js/css/whatever per se. Overall, the plaintext representation for structured data is quite cursed.