Say that you want to do some fancy formatting of some tabular output from powershell, and the destination is to be html (either for a webserver, or to be sent in an email). Let\
How about using JQuery, and inserting a header with the JQUery script and some styling, like:
Get-Process | ConvertTo-Html -Head @' '@ | Out-File procs.html; ii .\procs.html