Introduction
mod_format is a flex-based Apache module for formatting C, C++, and
Java source code using HTML. Once installed into an Apache server,
mod_format will format HTTP requests for source code using HTML.
mod_format performs the following functions:
- Performs language-sensitive syntax highlighting
- Indents code blocks uniformly
- Highlights URLs present in code
- Links to #include files, if present
Download
mod_format is available via ftp from
sbooth.org
Requirements
mod_format requires an ANSI-compliant C compiler, and either a
working installation of Apache 1.x with apxs or a buildable
Apache source tree.
Sample Output
Bug Reports
Please send bug reports, suggestions, and comments to
Stephen F. Booth