I grew tired of the verbosity of HTML, so I wrote a few scripts to automate the chore. Convert is the amalgamation of those approaches.

It started out as a little python script, then another part was in scsh. When they were merged the python part was rewritten and expanded in scsh. The result was crude but useful. CSS has helped enough that I once again write directly in HTML.

convert-1.tar.gz or browse the code.