Is there a simple way to reformat my HTML from within Komodo Edit or to automate the process against Tidy?
Something like the Ctrl+K, Ctrl>
You can set up a command to run to replace a selection of HTML with the tidy version. Press Ctrl + R to bring up the command window and enter tidy -utf8 -asxhtml -i
for the command which formats indented XHTML using UTF-8 encoding.
Check the two boxes to "Pass selection as input" and "Insert output". You can also specify custom key bindings there.
Example screenshot: http://grab.by/8C3t