What is the most straightforward way to write a technical book that needs to contain nicely formatted code snippets and images.
I've seen people using markdown, but how do you get a nice workflow where multiple markdown files gets converted into a single nicely formatted pdf/epub with a clickable table of contents and pagination.