Program code

Highlight – source code converter

Highlight is a source code converter that produces syntax-highlighted output for web pages, documents and terminals. It supports numerous programming and markup languages, with customizable language definitions and colour themes.

The software provides a command-line interface as well as an optional Qt graphical interface with a live preview.

This is free and open source software.

Key Features

  • Generates HTML, XHTML, RTF, ODT, LaTeX, TeX, SVG, BBCode and Pango markup.
  • Produces ANSI, 256-colour and true-colour terminal output.
  • Highlights keywords, types, strings, numbers, comments, operators and preprocessor directives.
  • Offers customizable Lua-based language definitions and colour themes.
  • Supports plug-ins that modify or extend syntax definitions and themes.
  • Recognizes nested programming languages within files.
  • Processes individual files, standard input or batches of files recursively.
  • Provides configurable line numbering, wrapping, fonts and stylesheets.
  • Reformats and indents C, C++, C# and Java source code.
  • Supports Language Server Protocol features including semantic tokens and syntax-error information.
  • Includes an optional Qt interface with live output previews.

Website: gitlab.com/saalen/highlight
Support:
Developer: André Simon.
License: GNU General Public License v3.0

Highlight is written in C++. Learn C++ with our recommended free books and free tutorials.


Related Software

Syntax Highlighters
PrismLightweight, extensible syntax highlighter, with modern web standards in mind
Re-HighlightPowerful syntax highlighter
ChromaGeneral purpose syntax highlighter
PygmentsGeneric syntax highlighter
RougePure Ruby syntax highlighter
Highlight.jsJavaScript syntax highlighter with language auto-detection

Read our verdict in the software roundup.


Best Free and Open Source Software Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.

This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more.

Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted