PasH is a simple, easy to use command line application that enables you to syntax highlight Pascal source code. The highlighted code is output as XHTML.
The program reads Pascal source from its standard input, or from the clipboard, and writes the generated XHTML to its standard output, or stores it on the clipboard. By default PasH generates complete XHTML documents but the software offers the option to create XHTML code fragments containing just the highlighted code.
The XHTML generated by PasH uses Cascading Style Sheets (CSS) to format the highlighted source code. Complete XHTML documents contain an embedded style sheet but XHTML fragments require the user to provide a suitable style sheet.
What's New in This Release: [ read full changelog ]
· Added new -hidecss switch. Specifying it hides contents of tag in HTML comments. Default is now not to hide contents.
· Replaced on-the-fly generation of embedded style sheets for XHTML documents with a default style sheet read from resources.
· Updated to use Delphi 2006 keyword and directives list from Delphi 7.
· Replaced generic DelphiDabbler icon with custom PasH icon set.
· Added Vista manifest.
· Removed unnecessary compiler directives in units, i.e. those that replicate directives in project file.
· Made localisable string literals into resource strings.
· Fixed potential future bug in clipboard handling code.