I think most LLM APIs return markdown and the conversion md->html happens after; so if you query the API directly you get markdown "for free".