I'm working on a tool to let sfotware developers write well-formatted ebooks and printed novels: https://frequal.com/epublish/
Example book here: https://www.amazon.com/dp/B0GYCZJVGX