Page 1 of 1

Highlight - save source code highlighting as rich text

Posted: Fri Jan 06, 2012 7:18 am
by I am Baas
Highlight converts source code to formatted text with syntax highlighting.

•Coloured output in HTML, XHTML, RTF, TeX, LaTeX, SVG and BBCode format
•Supports 175 programming languages
•Includes 80 colour themes
•Syntax elements are defined as regular expressions or plain string lists
•Customizable keyword groups
•Recognition of nested languages
•Reformatting and indentation of C, C++, C# and Java source code
•Language definitions and themes are Lua scripts
•Plug-In interface to tweak syntax parsing and coloring
•CLI, GUI and Lib builds available
•Platform independent
http://www.andre-simon.de/index.html

Image

Version tested:: 3.7
Settings:: highlight-gui.ini in AppData\Roaming\andre-simon.de

Re: Highlight

Posted: Fri Jan 06, 2012 8:55 am
by lautrepay
For those interested in this app, WinPenPack has a portabilized version: http://www.winpenpack.com/en/download.php?view.1003.

Re: Highlight

Posted: Thu Oct 11, 2012 3:08 pm
by I am Baas
Highlight V3.12 released 05.10.2012

http://www.andre-simon.de/doku/highligh ... gelog.html

Re: Highlight

Posted: Sun May 19, 2013 8:04 am
by tproli
From the changelog, dated 03.01.2012:

Code: Select all

-GUI: added --portable command line option to save config files in the current
   working directory instead of the user directory (suggested by Royi Avital)

Re: Highlight

Posted: Sun May 19, 2013 8:40 am
by I am Baas
tproli wrote:From the changelog, dated 03.01.2012:<br sab="728">

Code: Select all

-GUI: added --portable command line option to save config files in the current<br sab="729">   working directory instead of the user directory (suggested by Royi Avital)
Thanks, tproli.

Tested highlight v3.13: Portable

@Moderator
Please move to "Submission", thank you.

Re: Highlight

Posted: Wed Mar 04, 2015 9:31 am
by Midas
Highlight v3.22 is released (changelog at http://www.andre-simon.de/doku/highligh ... ngelog.php).

Re: Highlight

Posted: Mon Feb 08, 2016 11:11 pm
by I am Baas
Highlight v3.27 is available (19.01.2016)
-improved outhtml_codefold.lua to ignore brackets on the same line
-added RTF output to mark_lines.lua
-fixed Powershell and NSIS definitions
-added JSON and Github Markdown definitions
-CLI: added --keep-injections option to force plugin injection output with -f
-GUI: added keep injections checkbox
-GUI: fixed crash after removing selected plugins
Previous changes @ http://www.andre-simon.de/doku/highligh ... ngelog.php

Re: Highlight

Posted: Tue Feb 09, 2016 7:56 am
by tactictoe
Very very nice application. As a developer and after trial I vote for it.

Have all a nice day.

Re: Highlight

Posted: Sat May 14, 2016 12:04 am
by I am Baas
Highlight version 3.28 released (15.02.2016)
-added support of Pascal, Lua, Ruby and C# regions in outhtml_codefold.lua
-improved outhtml_codefold.lua to handle embedded languages
-added string delimiters in the Ruby definition
-added new AssertEqualLength flag in string section of language definitions
-improved heredoc parsing
-fixed Lua multiline string recognition
-improved SVG whitespace output (patch by Paul de Vrieze)
-added Nim and mIRC Scripting definitions
http://www.andre-simon.de/doku/highligh ... ngelog.php

Re: Highlight

Posted: Tue May 24, 2016 3:56 pm
by I am Baas
Highlight v3.29 released (13.05.2016)
-added Ansible Yaml definition (thanks to Raphael Droz)
-added Chapel definition (thanks to Lydia Duncan)
-fixed gcc 6 warnings about deprecated auto_ptr usage
-GUI: fixed style file output if "write to source directory" option is
checked (thanks to Jim Pattee)
http://www.andre-simon.de/zip/download.php

Re: Highlight

Posted: Sat Jun 27, 2020 7:44 pm
by webfork
Update: Still in active development with changes as recent as last month:
http://www.andre-simon.de/doku/highligh ... ngelog.php

Also of note, this program has a very robust CLI conversion options set:
http://www.andre-simon.de/doku/highligh ... .php#ch2_2

... if you need to publish a lot of code / scripts all at once, this might make sharing that content a lot more friendly. Output options include html, xhtml, latex, tex, odt, rtf and more.

Re: Highlight - save source code highlighting as rich text

Posted: Sat Apr 02, 2022 11:11 am
by webfork

Re: Highlight - save source code highlighting as rich text

Posted: Sun Apr 03, 2022 2:56 am
by Andrew Lee
I have added this to the database:

https://www.portablefreeware.com/?id=3075

Please vote!

I recently need to do a lot of syntax highlighting while preparing some technical documentation. I have been primarily using hilite.me for this purpose, but after trying this out, I think I will switch to using Highlight instead.