Ask or commission someone to make a output and input plugin that does exactly what you want.
As for Chrome's element inspection, that is built right inside of both Sigil and Calibre. In Sigil, enable the Preview window and then use the slide to grow the Inspector widget. You can inspect any element, see the css rules applied, any javascript output, how that exact html is interpreted, any errors, etc. It is the same inspector used in all Webkit projects but is much more safe than the open port approach with environment variables that chrome uses. Preview will also show you exactly where any parsing error lies.
|