What tool do you use or recommend when drafting technical blog posts or books?
I've found that editors tend to do one thing or the other very well: they're either really good editors for rich text and multimedia or really good editors for code.
What tools balance the best of both worlds?
Researchers use LaTeX heavily for papers. It has a learning curve, but once mastered it is very powerful.
Markdown is being increasingly used for code documentation nowadays. `readthedocs`, github pages work well with markdown syntax
Publishers tend to layout professional documents with Adobe Illustrator / InDesign. All the common magazines generally use it, unless they have some custom sauce built-to-order