Highlight Converts source code into HTML, XHTML and TeX. You can customize language definitions and colour themes.
Highlight was created to provide a flexible and easy-to-use syntax highlighter that can be used in a variety of output formats. All relevant data is stored in configuration files, instead of hardcoding syntax and colouring information. These scripts can be modified or enhanced by plug-in scripts.
Features
- Highlighting keywords, types, strings and numbers, escape sequences and comments, as well as preprocessor directives and operators
- Coloured output in HTML and XHTML 1.1.
- Supports referenced stylesheet files HTML, LaTeX and TeX outputs
- Syntax elements can be defined as regular expressions, plain string lists, or plain strings.
- You can customize keyword groups
- Recognition of nested language within a file
- All configuration files are Lua scripts
- Plug-in scripts are available to modify language definitions and themes
- Reformatting and indentation for C, C++ and C# source code
- Wrapping long lines
- Configurable output of line number configuration