Projects / Syntax Highlighting in JavaScript

Syntax Highlighting in JavaScript

SHJS (Syntax Highlighting in JavaScript) is a JavaScript program which highlights source code passages in HTML documents. Documents using SHJS are highlighted on the client side by the Web browser.

Tags
Licenses
Operating Systems
Implementation

Recent releases

  •  16 Dec 2008 06:52

    Release Notes: Markup inside pre elements is now preserved. Several new languages (from the latest release of GNU Source-highlight) are included: S-Lang, Scala, Java properties files, Desktop files, LSM (Linux Software Map) files, Xorg configuration files, RPM spec files, Haxe, LDAP files, GLSL, Objective Caml, Standard ML, JavaScript with DOM, and C (separate from the C++ language file). Compressed CSS stylesheets are now included in the distribution.

    •  19 Aug 2008 00:24

      Release Notes: Improvements include the ability to automatically load language script files, better highlighting of C/C++ and JavaScript, a new language file for Oracle SQL, and various bug fixes.

      •  05 Aug 2007 11:47

        Release Notes: Problems with string termination in some languages were fixed. Variables are now highlighted in PHP and Python. Highlighted URLs are now actual hyperlinks. Sample styles have improved highlighting for CSS, diff, ChangeLog, and log files.

        •  02 Jul 2007 09:56

          Release Notes: This release fixes a bug that can cause very large code segments to be truncated when viewed with Opera.

          •  11 Jun 2007 18:01

            Release Notes: This release has new regular expression matching features (from the latest release of GNU Source-highlight): backreferences and highlighting of parenthesized subexpressions. It includes improved highlighting patterns for ChangeLog files, C/C++, Flex, HTML, Java, log files, Perl, and Ruby.

            Screenshot

            Project Spotlight

            OpenStack4j

            A Fluent OpenStack client API for Java.

            Screenshot

            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.