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
Highlight.jsJavaScript syntax highlighter with language auto-detection
ShikiThemeable code rendering powered by TextMate grammars
ChromaGeneral purpose syntax highlighter
RougePure Ruby syntax highlighter
PygmentsGeneric syntax highlighter
starry-nightGitHub-style code colouring for JavaScript projects
HighlightTransforms source code into polished, readable output
Re-HighlightPowerful syntax highlighter

Read our verdict in the software roundup.


Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted