the cursive tui library does some html rendering
https://sr.ht/~ireas/cursive-markup-rs/
the whole cursive library strikes me as very html-like in layout