After my recent conversion to Linux Kubuntu 9.04, I sought if I could use an advanced text editor allowing me to use HTML Tidy. After several days of research, I found the answer.
To download and install the latest version of Quanta+ (which is version 3.5.10 at the time of writing this tutorial) on your PC, start KPackageKit (Applications starter Kickoff, then Applications, then System, then Software Management KPackageKit)
Select Software management, then type in kdewebdev in the text box
"Search packets" to see if packets are available (installed or not). You
should find the 3 following identified: kdewebdev,
kdewevdev-dbg and kdewebdev-doc-html (all of version 3.5.10)
If they are not installed, install them. You may have to uninstall
packets which could be in conflicts or to install others like
(kfilereplace, klinkstatus,
kimagemapeditor, etc.)
Open Konsole: (Applications starter Kickoff, then Applications, then System, then Terminal Konsole)
In Konsole, type in
tidy -version
If HTML Tidy is already installed on your PC, then the command should
return the HTML Tidy version. The most recent version under Linux, at the
time of writing this tutorial, is:
HTML Tidy for Linux/x86 released on 25 March 2009
If HTML Tidy is not installed on your system, then a message will offer you to download it and install it. Accept it!
If, after querying the HTML Tidy version, there is no message offering you to download and install the latest available version of HTML Tidy, then type into the Konsole:
man tidy
Ideally, the configuration of
Quanta+ 3.5.10 in order to use HTML Tidy should be done in a way that
an HTML document HTML being edited can be parsed, processed by HTML
Tidy and get its code reformatted (pretty-printed). HTML Tidy should be
configured to write-back on the input code; Quanta+ 3.5.10 should be
configured to allow HTML Tidy to reformat the markup code as it is
being edited by Quanta+.
Do Settings/Configure Actions.../(left pane) Toolbar & Action
Tree/(left column) Name/(+)All/HTML Tidy Syntax Checking/Detailed
Settings/
and then choose the following set up:
Input: Current Document
Output: Replace Current Document
This is actually only at this point where HTML Tidy can be customized for your needs.
HTML Tidy hosts over 90 options and parsing, formating options for HTML documents. It is a very powerful utility program and is often misunderstood. To know about all of the formating and parsing options and what they can do, there is nothing better than to experiment.
Here are the options I use in HTML Tidy with Quanta+ 3.5.10:
tidy --clean yes --doctype strict --drop-font-tags yes --drop-proprietary-attributes yes --enclose-block-text yes --enclose-text yes -indent --logical-emphasis yes -modify --output-html yes -raw --replace-color yes --tidy-mark yes -wrap 76
If these options meet your needs, then copy them directly into the text (box) zone in the Detailed Settings fieldset:

If these options meet your needs, then feel free to modify them, add others or remove some. Make sure you copy the options correctly: carefully copy each blank white spaces and dash (hyphen) characters and the number of dashes.
You can examine every option and their description on the official HTML Tidy website.
Official HTML Tidy
website
Complete
reference of options in HTML Tidy