Highlight Code Converter / News: Recent posts


  • renamed examples directory to extras
  • line anchors (-a) are attached as id attribute to the first span or li tag in HTML output (https://github.com/andre-simon/highlight/issues/36)
  • added fstab.lang and added anacrontab in filetypes.conf
  • removed references to OutputType::HTML32
  • added extras/css-themes and extras/langDefs-resources
  • renamed ID prefix in outhtml_codefold plug-in to be compatible with -a IDs
  • CLI: removed deprecated indicator of --data-dir option
  • CLI: added --no-version-info option
  • GUI: fixed initial theme selection
  • GUI: added "Omit version info comment" option
  • GUI: added "Copy with MIME type" option for HTML output
Posted by André Simon 2017-11-29

New release 3.39

  • added syntax for Docker and Elixir
  • improved HTML, Julia, Kotlin and Smalltalk syntax definitions
  • GUI: added "Paste, Convert and Copy" button
Posted by André Simon 2017-07-27

New release 3.38

  • fixed Bash variable highlighting issue
  • updated astyle code to release 3.0.1 (https://sourceforge.net/p/astyle/bugs/438/)
  • added bash_ref_man7_org.lua plugin
Posted by André Simon 2017-06-21

New release 3.37

  • fixed Perl string highlighting issue
  • fixed highlighting if a line continues after the nested code delimiter
  • updated astyle code to release 3.0
  • added examples/pandoc
  • added syntax mapping for markdown
  • added syntax mapping for clj
  • improved Java definition
  • added theme to JSON converter in examples/json
  • CLI: added support for environment variable HIGHLIGHT_OPTIONS
Posted by André Simon 2017-05-31

New release 3.36

  • fixed code folding plugin to support more Ruby conditional modifiers
  • fixed Perl quoted string highlighting
  • added new GeneratorOverride syntax definition parameter
  • added Filenames parameter in filetypes.conf to assign input filenames to syntax types
  • added FASM definition and edit-fasm theme
  • added outhtml_ie7_webctrl plug-in
  • GUI: file extensions can be configured for multiple languages, triggers syntax selection prompt
  • GUI: added Italian translation
Posted by André Simon 2017-04-03

New release 3.35

  • fixed code folding plugin to support Ruby conditional modifiers
  • fixed JSON definition
  • fixed output of unknown syntax warning with applied force switch
  • added state trace parameter to Decorate plug-in function
  • added GDScript definition and edit-godot theme
  • updated SWIG code samples
  • updated Artistic Style lib (SVN Rev. 553)
  • revised docs
  • CLI: fixed creation of hidden files if output filename is prepended by its input path
  • CLI: added switch --stdout
Posted by André Simon 2017-03-01

New release 3.34

  • fixed segfault with --skip applied on a single file input list
  • added support for Python 3.6 syntax
  • added Github and Sourceforge themes
Posted by André Simon 2017-01-02

New release 3.32

  • added support for true color escape codes (--out-format truecolor)
  • fixed xterm256 output for paging with less
  • fixed operator regex in rnc.lang, crk.lang and yaml.lang
  • added Pony and Whiley definitions
  • updated Ceylon, Julia and TypeScript definitions
  • added Go, AutoHotKey, TypeScript and R to the foldable list in the outhtml_codefold.lua plug-in
  • removed plugins/bash_ref_linuxmanpages_com.lua
  • GUI: fixed README, ChangeLog and License file paths on Linux
Posted by André Simon 2016-09-26

New release 3.31

  • documentation was revised
  • GUI: minor layout issues were fixed
Posted by André Simon 2016-08-01

New release 3.30

  • the data directory can be defined with the HIGHLIGHT_DATADIR environment variable
  • fixed RTF output of UTF-8 input; needs input encoding set to utf-8
  • fixed XML comment recognition
  • data search directories were appended to the result of --list-scripts
  • revised older syntax definitions
  • updated base URLs of bash_ref_linuxmanpages and cpp_ref_qtproject plug-ins
  • GUI: added system copy and paste shortcuts for clipboard functions
Posted by André Simon 2016-07-01

New release 3.29

  • added Ansible Yaml definition
  • added Chapel definition
  • fixed gcc 6 warnings about deprecated auto_ptr usage
  • src/makefile: added -std=c++11 because of auto_ptr to unique_ptr transition
  • GUI: fixed style file output if "write to source directory" option is checked
Posted by André Simon 2016-05-24

New release 3.28

-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
-added Nim and mIRC Scripting definitions

Posted by André Simon 2016-02-16

New release 3.27

-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

Posted by André Simon 2016-01-21

New release 3.26

-added HL_REJECT state to be used in a OnStateChange function
-added DecorateLineBegin and DecorateLineEnd hooks
-added mark_lines.lua, outhtml_codefold.lua, comment_links.lua plug-ins
-fixed font face in ODT output
-fixed Operators parameter in frink.lang and oorexx.lang
-fixed regular expression parsing within strings for JS, Perl and Ruby
-CLI: added --page-color option to include a page color in RTF output
-GUI: added RTF page color option

Posted by André Simon 2016-01-14

New release 3.25

-added new SVG definition to support embedded scripting
-improved js.lang, css.lang, scss.lang, less.lang, tsql.lang
-modified HTML ordered list output to work better with new plug-ins
-renamed plug-in variable HL_INPUT_FILE to HL_PLUGIN_PARAM
-CLI: renamed --plug-in-read option to --plug-in-param
-GUI: updated plug-in parameter label and tool-tips
-GUI: fixed minor issues

Posted by André Simon 2015-12-21

New release 3.24

-fixed TeX output for cweb documents
-fixed string interpolation in bat.lang
-added several HTML output plug-ins
-added TCL extension in examples/tcl
-added support for Kotlin, Nginx and Julia
-updated php.lang to include version 7 keywords
-updated ceylon.lang to include version 1.2 keywords
-updated scripts in examples directory
-CLI: style-infile option marked as deprecated
-GUI: shortened paths in file input lists

Posted by André Simon 2015-11-03

New release 3.23

-added support fur Rust and generic config files
-added some extensions in filetypes.conf
-fixed Matlab definition and style
-CLI: fixed --list-scripts with unknown argument

Posted by André Simon 2015-08-05

New release 3.20

  • updated astyle code to release 2.05
  • added astyle reformatting style vtk
Posted by André Simon 2014-12-02

New release 3.19

  • added bold, italic and underline attributes to xterm256 ANSI output
  • fixed assembler mapping in filetypes.conf
  • added Swift definition
  • improved ASP, F#, OCaml and Lisp syntax definitions
  • added interpolation patterns to several definitions
  • updated base URLs in cpp_ref_gtk_gnome and cpp_ref_qtproject plug-ins
  • CLI: added Pango markup output option
Posted by André Simon 2014-09-17

New release 3.18

  • Filenames without extension (ie. makefile) can be mapped in filetypes.conf.
  • Rexx highlighting was fixed, and a GDB language definition was added.
  • A "the" editor theme was added.
Posted by André Simon 2014-04-09

New release 3.14

User defined configuration options were improved. Some plug-ins were added to enhance HTML output with bracket and keyword matching.

Posted by André Simon 2013-06-03

New release 3.13

Support for the Crack language was added. Several bugs were fixed.

Posted by André Simon 2013-02-06

New release 3.12

CSS class names may now be omitted in HTML output. Highlighting of string interpolation has been added. Dart and TypeScript are supported. The SWIG module example code has been fixed.

Posted by André Simon 2012-12-12

help wanted

The spanish GUI translation needs an update (based on Qt Linguist)

Posted by André Simon 2012-05-02

New release 3.9

The plug-in interface was enhanced to support output text manipulation (added Decorator function and Injections property).
Several example plug-ins were added which show how to add keyword links to online reference sites (e.g. cplusplus.com, perldoc.perl.org, qtproject.org).
Added a ctags plugin (ctags_html_tooltips.lua).
Improved Perl and N3 definitions.

Posted by André Simon 2012-05-02