Highlight - save source code highlighting as rich text

Submit portable freeware that you find here. It helps if you include information like description, extraction instruction, Unicode support, whether it writes to the registry, and so on.
Post Reply
Message
Author
User avatar
I am Baas
Posts: 4150
Joined: Thu Aug 07, 2008 4:51 am

Highlight - save source code highlighting as rich text

#1 Post 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

lautrepay
Posts: 715
Joined: Sat Mar 26, 2011 2:31 am

Re: Highlight

#2 Post by lautrepay »

For those interested in this app, WinPenPack has a portabilized version: http://www.winpenpack.com/en/download.php?view.1003.

User avatar
I am Baas
Posts: 4150
Joined: Thu Aug 07, 2008 4:51 am

Re: Highlight

#3 Post by I am Baas »

Highlight V3.12 released 05.10.2012

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

User avatar
tproli
Posts: 1172
Joined: Sat Sep 09, 2006 10:14 am
Location: Hungary
Contact:

Re: Highlight

#4 Post 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)

User avatar
I am Baas
Posts: 4150
Joined: Thu Aug 07, 2008 4:51 am

Re: Highlight

#5 Post 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.

User avatar
Midas
Posts: 6710
Joined: Mon Dec 07, 2009 7:09 am
Location: Sol3

Re: Highlight

#6 Post by Midas »

Highlight v3.22 is released (changelog at http://www.andre-simon.de/doku/highligh ... ngelog.php).

User avatar
I am Baas
Posts: 4150
Joined: Thu Aug 07, 2008 4:51 am

Re: Highlight

#7 Post 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

User avatar
tactictoe
Posts: 283
Joined: Thu Dec 10, 2015 10:56 am
Location: A galaxy far far downunder
Contact:

Re: Highlight

#8 Post by tactictoe »

Very very nice application. As a developer and after trial I vote for it.

Have all a nice day.

User avatar
I am Baas
Posts: 4150
Joined: Thu Aug 07, 2008 4:51 am

Re: Highlight

#9 Post 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

User avatar
I am Baas
Posts: 4150
Joined: Thu Aug 07, 2008 4:51 am

Re: Highlight

#10 Post 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

User avatar
webfork
Posts: 10818
Joined: Wed Apr 11, 2007 8:06 pm
Location: US, Texas
Contact:

Re: Highlight

#11 Post 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.


User avatar
Andrew Lee
Posts: 3052
Joined: Sat Feb 04, 2006 9:19 am
Contact:

Re: Highlight - save source code highlighting as rich text

#13 Post 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.

Post Reply