Publishers have epubs. They don't have raw html or markdown. I have 50 epubs at bitcoinbook.shop that I could upload. Let the nostr client parse those imo. Indesign books export reflowable epubs too. That's the standard. Work with that