5 - *ABNF* and *EBNF* by [Alex McKibben][]
6 - *Awk* by [Matthew Daly][]
7 - *SubUnit* by [Sergey Bronnikov][]
11 - *Atom One* in both Dark and Light variants by [Daniel Gamage][]
13 Plus, a few smaller updates for *Lasso*, *Elixir*, *C++* and *SQL*.
15 [Alex McKibben]: https://github.com/mckibbenta
16 [Daniel Gamage]: https://github.com/danielgamage
17 [Matthew Daly]: https://github.com/matthewbdaly
18 [Sergey Bronnikov]: https://github.com/ligurio
25 - *Excel* by [Victor Zhou][]
26 - *Linden Scripting Language* by [Builder's Brewery][]
27 - *TAP* (Test Anything Protocol) by [Sergey Bronnikov][]
28 - *Pony* by [Joe Eli McIlvain][]
29 - *Coq* by [Stephan Boyer][]
30 - *dsconfig* and *LDIF* by [Jacob Childress][]
34 - *Ocean Dark* by [Gavin Siu][]
38 - [Minh Nguyễn][] added more built-ins to Objective C.
39 - [Jeremy Hull][] fixed corner cases in C++ preprocessor directives and Diff
41 - [Victor Zhou][] added support for digit separators in C++ numbers.
43 [Gavin Siu]: https://github.com/gavsiu
44 [Builder's Brewery]: https://github.com/buildersbrewery
45 [Victor Zhou]: https://github.com/OiCMudkips
46 [Sergey Bronnikov]: https://github.com/ligurio
47 [Joe Eli McIlvain]: https://github.com/jemc
48 [Stephan Boyer]: https://github.com/boyers
49 [Jacob Childress]: https://github.com/braveulysses
50 [Minh Nguyễn]: https://github.com/1ec5
51 [Jeremy Hull]: https://github.com/sourrust
58 - *PureBASIC* by [Tristano Ajmone][]
59 - *BNF* by [Oleg Efimov][]
60 - *Ada* by [Lars Schulna][]
64 - *PureBASIC* by [Tristano Ajmone][]
66 Improvements to existing languages and styles:
68 - We now highlight function declarations in Go.
69 - [Taisuke Fujimoto][] contributed very convoluted rules for raw and
70 interpolated strings in C#.
71 - [Boone Severson][] updated Verilog to comply with IEEE 1800-2012
73 - [Victor Zhou][] improved rules for comments and strings in PowerShell files.
74 - [Janis Voigtländer][] updated the definition of Elm to version 0.17 of the
75 languages. Elm is now featured on the front page of <https://highlightjs.org>.
76 - Special variable `$this` is highlighted as a keyword in PHP.
77 - `usize` and `isize` are now highlighted in Rust.
78 - Fixed labels and directives in x86 assembler.
80 [Tristano Ajmone]: https://github.com/tajmone
81 [Taisuke Fujimoto]: https://github.com/temp-impl
82 [Oleg Efimov]: https://github.com/Sannis
83 [Boone Severson]: https://github.com/BooneJS
84 [Victor Zhou]: https://github.com/OiCMudkips
85 [Lars Schulna]: https://github.com/captain-hanuta
86 [Janis Voigtländer]: https://github.com/jvoigtlaender
93 - *Tagger Script* by [Philipp Wolfer][]
94 - *MoonScript* by [Billy Quith][]
98 - *xt256* by [Herbert Shin][]
100 Improvements to existing languages and styles:
102 - More robust handling of unquoted HTML tag attributes
103 - Relevance tuning for QML which was unnecessary eager at seizing other
105 - Improve GAMS language parsing
106 - Fixed a bunch of bugs around selectors in Less
107 - Kotlin's got a new definition for annotations, updated keywords and other
109 - Added `move` to Rust keywords
110 - Markdown now recognizes \`\`\`-fenced code blocks
111 - Improved detection of function declarations in C++ and C#
113 [Philipp Wolfer]: https://github.com/phw
114 [Billy Quith]: https://github.com/billyquith
115 [Herbert Shin]: https://github.com/initbar
122 - *QML* by [John Foster][]
123 - *HTMLBars* by [Michael Johnston][]
125 - *Maxima* by [Robert Dodier][]
129 - *Gruvbox* by [Qeole][]
130 - *Dracula* by [Denis Ciccale][]
132 Improvements to existing languages and styles:
134 - We now correctly handle JSX with arbitrary node tree depth.
135 - Argument list for `(lambda)` in Scheme is no longer highlighted as a function
137 - Stylus syntax doesn't break on valid CSS.
138 - More correct handling of comments and strings and other improvements for
140 - More subtle work on the default style.
141 - We now use anonymous modules for AMD.
142 - `macro_rules!` is now recognized as a built-in in Rust.
144 [John Foster]: https://github.com/jf990
145 [Qeole]: https://github.com/Qeole
146 [Denis Ciccale]: https://github.com/dciccale
147 [Michael Johnston]: https://github.com/lastobelus
148 [Taras]: https://github.com/oxdef
149 [Robert Dodier]: https://github.com/robert-dodier
156 - *Stan* by [Brendan Rocks][]
157 - *BASIC* by [Raphaël Assénat][]
158 - *GAUSS* by [Matt Evans][]
159 - *DTS* by [Martin Braun][]
160 - *Arduino* by [Stefania Mellai][]
164 - *Arduino Light* by [Stefania Mellai][]
166 Improvements to existing languages and styles:
168 - Handle return type annotations in Python
169 - Allow shebang headers in Javascript
170 - Support strings in Rust meta
171 - Recognize `struct` as a class-level definition in Rust
172 - Recognize b-prefixed chars and strings in Rust
173 - Better numbers handling in Verilog
175 [Brendan Rocks]: http://brendanrocks.com
176 [Raphaël Assénat]: https://github.com/raphnet
177 [Matt Evans]: https://github.com/matthewevans
178 [Martin Braun]: https://github.com/mbr0wn
179 [Stefania Mellai]: https://github.com/smellai
184 The new major version brings a reworked styling system. Highlight.js now defines
185 a limited set of highlightable classes giving a consistent result across all the
186 styles and languages. You can read a more detailed explanation and background in
187 the [tracking issue][#348] that started this long process back in May.
189 This change is backwards incompatible for those who uses highlight.js with a
190 custom stylesheet. The [new style guide][sg] explains how to write styles
193 Bundled themes have also suffered a significant amount of improvements and may
194 look different in places, but all the things now consistent and make more sense.
195 Among others, the Default style has got a refresh and will probably be tweaked
196 some more in next releases. Please do give your feedback in our
197 [issue tracker][issues].
199 New languages in this release:
201 - *Caché Object Script* by [Nikita Savchenko][]
202 - *YAML* by [Stefan Wienert][]
203 - *MIPS Assembler* by [Nebuleon Fumika][]
204 - *HSP* by [prince][]
206 Improvements to existing languages and styles:
208 - ECMAScript 6 modules import now do not require closing semicolon.
209 - ECMAScript 6 classes constructors now highlighted.
210 - Template string support for Typescript, as for ECMAScript 6.
211 - Scala case classes params highlight fixed.
212 - Built-in names introduced in Julia v0.4 added by [Kenta Sato][].
213 - Refreshed Default style.
215 Other notable changes:
217 - [Web workers support][webworkers] added bu [Jan Kühle][].
218 - We now have tests for compressed browser builds as well.
219 - The building tool chain has been switched to node.js 4.x. and is now
220 shamelessly uses ES6 features all over the place, courtesy of [Jeremy Hull][].
221 - License added to non-compressed browser build.
223 [Jan Kühle]: https://github.com/frigus02
224 [Stefan Wienert]: https://github.com/zealot128
225 [Kenta Sato]: https://github.com/bicycle1885
226 [Nikita Savchenko]: https://github.com/ZitRos
227 [webworkers]: https://github.com/isagalaev/highlight.js#web-workers
228 [Jeremy Hull]: https://github.com/sourrust
229 [#348]: https://github.com/isagalaev/highlight.js/issues/348
230 [sg]: http://highlightjs.readthedocs.org/en/latest/style-guide.html
231 [issues]: https://github.com/isagalaev/highlight.js/issues
232 [Nebuleon Fumika]: https://github.com/Nebuleon
233 [prince]: https://github.com/prince-0203
238 Some last-minute changes reverted due to strange bug with minified browser build:
240 - Scala case classes params highlight fixed
241 - ECMAScript 6 modules import now do not require closing semicolon
242 - ECMAScript 6 classes constructors now highlighted
243 - Template string support for Typescript, as for ECMAScript 6
244 - License added to not minified browser build
251 - *crmsh* by [Kristoffer Gronlund][]
252 - *SQF* by [Soren Enevoldsen][]
254 [Kristoffer Gronlund]: https://github.com/krig
255 [Soren Enevoldsen]: https://github.com/senevoldsen90
257 Notable fixes and improvements to existing languages:
259 - Added `abstract` and `namespace` keywords to TypeScript by [Daniel Rosenwasser][]
260 - Added `label` support to Dockerfile by [Ladislav Prskavec][]
261 - Crystal highlighting improved by [Tsuyusato Kitsune][]
262 - Missing Swift keywords added by [Nate Cook][]
263 - Improve detection of C block comments
264 - ~~Scala case classes params highlight fixed~~
265 - ~~ECMAScript 6 modules import now do not require closing semicolon~~
266 - ~~ECMAScript 6 classes constructors now highlighted~~
267 - ~~Template string support for Typescript, as for ECMAScript 6~~
269 Other notable changes:
271 - ~~License added to not minified browser build~~
273 [Kristoffer Gronlund]: https://github.com/krig
274 [Søren Enevoldsen]: https://github.com/senevoldsen90
275 [Daniel Rosenwasser]: https://github.com/DanielRosenwasser
276 [Ladislav Prskavec]: https://github.com/abtris
277 [Tsuyusato Kitsune]: https://github.com/MakeNowJust
278 [Nate Cook]: https://github.com/natecook1000
285 - *Golo* by [Philippe Charrière][]
286 - *GAMS* by [Stefan Bechert][]
287 - *IRPF90* by [Anthony Scemama][]
288 - *Access logs* by [Oleg Efimov][]
289 - *Crystal* by [Tsuyusato Kitsune][]
291 Notable fixes and improvements to existing languages:
293 - JavaScript highlighting no longer fails with ES6 default parameters
294 - Added keywords `async` and `await` to Python
295 - PHP heredoc support improved
296 - Allow preprocessor directives within C++ functions
298 Other notable changes:
300 - Change versions to X.Y.Z SemVer-compatible format
301 - Added ability to build all targets at once
303 [Philippe Charrière]: https://github.com/k33g
304 [Stefan Bechert]: https://github.com/b-pos465
305 [Anthony Scemama]: https://github.com/scemama
306 [Oleg Efimov]: https://github.com/Sannis
307 [Tsuyusato Kitsune]: https://github.com/MakeNowJust
314 - *Zephir* by [Oleg Efimov][]
315 - *Elm* by [Janis Voigtländer][]
316 - *XQuery* by [Dirk Kirsten][]
317 - *Mojolicious* by [Dotan Dimet][]
318 - *AutoIt* by Manh Tuan from [J2TeaM][]
319 - *Toml* (ini extension) by [Guillaume Gomez][]
323 - *Hopscotch* by [Jan T. Sott][]
324 - *Grayscale* by [MY Sun][]
326 Notable fixes and improvements to existing languages:
328 - Fix encoding of images when copied over in certain builds
329 - Fix incorrect highlighting of the word "bug" in comments
330 - Treat decorators different from matrix multiplication in Python
331 - Fix traits inheritance highlighting in Rust
332 - Fix incorrect document
333 - Oracle keywords added to SQL language definition by [Vadimtro][]
334 - Postgres keywords added to SQL language definition by [Benjamin Auder][]
335 - Fix registers in x86asm being highlighted as a hex number
336 - Fix highlighting for numbers with a leading decimal point
337 - Correctly highlight numbers and strings inside of C/C++ macros
338 - C/C++ functions now support pointer, reference, and move returns
340 [Oleg Efimov]: https://github.com/Sannis
341 [Guillaume Gomez]: https://github.com/GuillaumeGomez
342 [Janis Voigtländer]: https://github.com/jvoigtlaender
343 [Jan T. Sott]: https://github.com/idleberg
344 [Dirk Kirsten]: https://github.com/dirkk
345 [MY Sun]: https://github.com/simonmysun
346 [Vadimtro]: https://github.com/Vadimtro
347 [Benjamin Auder]: https://github.com/ghost
348 [Dotan Dimet]: https://github.com/dotandimet
349 [J2TeaM]: https://github.com/J2TeaM
356 - *C/AL* by [Kenneth Fuglsang][]
357 - *DNS zone file* by [Tim Schumacher][]
358 - *Ceylon* by [Lucas Werkmeister][]
359 - *OpenSCAD* by [Dan Panzarella][]
360 - *Inform7* by [Bruno Dias][]
361 - *armasm* by [Dan Panzarella][]
362 - *TP* by [Jay Strybis][]
366 - *Atelier Cave*, *Atelier Estuary*,
367 *Atelier Plateau* and *Atelier Savanna* by [Bram de Haan][]
368 - *Github Gist* by [Louis Barranqueiro][]
370 Notable fixes and improvements to existing languages:
372 - Multi-line raw strings from C++11 are now supported
373 - Fix class names with dashes in HAML
374 - The `async` keyword from ES6/7 is now supported
375 - TypeScript functions handle type and parameter complexity better
376 - We unified phpdoc/javadoc/yardoc etc modes across all languages
377 - CSS .class selectors relevance was dropped to prevent wrong language detection
378 - Images is now included to CDN build
379 - Release process is now automated
381 [Bram de Haan]: https://github.com/atelierbram
382 [Kenneth Fuglsang]: https://github.com/kfuglsang
383 [Louis Barranqueiro]: https://github.com/LouisBarranqueiro
384 [Tim Schumacher]: https://github.com/enko
385 [Lucas Werkmeister]: https://github.com/lucaswerkmeister
386 [Dan Panzarella]: https://github.com/pzl
387 [Bruno Dias]: https://github.com/sequitur
388 [Jay Strybis]: https://github.com/unreal
395 - *pf.conf* by [Peter Piwowarski][]
396 - *Julia* by [Kenta Sato][]
397 - *Prolog* by [Raivo Laanemets][]
398 - *Docker* by [Alexis Hénaut][]
399 - *Fortran* by [Anthony Scemama][] and [Thomas Applencourt][]
400 - *Kotlin* by [Sergey Mashkov][]
404 - *Agate* by [Taufik Nurrohman][]
405 - *Darcula* by [JetBrains][]
406 - *Atelier Sulphurpool* by [Bram de Haan][]
407 - *Android Studio* by [Pedro Oliveira][]
409 Notable fixes and improvements to existing languages:
411 - ES6 features in JavaScript are better supported now by [Gu Yiling][].
412 - Swift now recognizes body-less method definitions.
413 - Single expression functions `def foo, do: ... ` now work in Elixir.
414 - More uniform detection of built-in classes in Objective C.
415 - Fixes for number literals and processor directives in Rust.
416 - HTML `<script>` tag now allows any language, not just JavaScript.
417 - Multi-line comments are supported now in MatLab.
419 [Taufik Nurrohman]: https://github.com/tovic
420 [Jet Brains]: https://www.jetbrains.com/
421 [Peter Piwowarski]: https://github.com/oldlaptop
422 [Kenta Sato]: https://github.com/bicycle1885
423 [Bram de Haan]: https://github.com/atelierbram
424 [Raivo Laanemets]: https://github.com/rla
425 [Alexis Hénaut]: https://github.com/AlexisNo
426 [Anthony Scemama]: https://github.com/scemama
427 [Pedro Oliveira]: https://github.com/kanytu
428 [Gu Yiling]: https://github.com/Justineo
429 [Sergey Mashkov]: https://github.com/cy6erGn0m
430 [Thomas Applencourt]: https://github.com/TApplencourt
435 We've got the new [demo page][]! The obvious new feature is the new look, but
436 apart from that it's got smarter: by presenting languages in groups it avoids
437 running 10000 highlighting attempts after first load which was slowing it down
438 and giving bad overall impression. It is now also being generated from test
439 code snippets so the authors of new languages don't have to update both tests
440 and the demo page with the same thing.
442 Other notable changes:
444 - The `template_comment` class is gone in favor of the more general `comment`.
445 - Number parsing unified and improved across languages.
446 - C++, Java and C# now use unified grammar to highlight titles in
447 function/method definitions.
448 - The browser build is now usable as an AMD module, there's no separate build
449 target for that anymore.
450 - OCaml has got a [comprehensive overhaul][ocaml] by [Mickaël Delahaye][].
451 - Clojure's data structures and literals are now highlighted outside of lists
452 and we can now highlight Clojure's REPL sessions.
456 - *AspectJ* by [Hakan Özler][]
457 - *STEP Part 21* by [Adam Joseph Cook][]
458 - *SML* derived by [Edwin Dalorzo][] from OCaml definition
459 - *Mercury* by [mucaho][]
460 - *Smali* by [Dennis Titze][]
461 - *Verilog* by [Jon Evans][]
462 - *Stata* by [Brian Quistorff][]
464 [Hakan Özler]: https://github.com/ozlerhakan
465 [Adam Joseph Cook]: https://github.com/adamjcook
466 [demo page]: https://highlightjs.org/static/demo/
467 [Ivan Sagalaev]: https://github.com/isagalaev
468 [Edwin Dalorzo]: https://github.com/edalorzo
469 [mucaho]: https://github.com/mucaho
470 [Dennis Titze]: https://github.com/titze
471 [Jon Evans]: https://github.com/craftyjon
472 [Brian Quistorff]: https://github.com/bquistorff
473 [ocaml]: https://github.com/isagalaev/highlight.js/pull/608#issue-46190207
474 [Mickaël Delahaye]: https://github.com/polazarus
479 We streamlined our tool chain, it is now based entirely on node.js instead of
480 being a mix of node.js, Python and Java. The build script options and arguments
481 remained the same, and we've noted all the changes in the [documentation][b].
482 Apart from reducing complexity, the new build script is also faster from not
483 having to start Java machine repeatedly. The credits for the work go to [Jeremy
488 - PHP and JavaScript mixed in HTML now live happily with each other.
489 - JavaScript regexes now understand ES6 flags "u" and "y".
490 - `throw` keyword is no longer detected as a method name in Java.
491 - Fixed parsing of numbers and symbols in Clojure thanks to [input from Ivan
494 New languages in this release:
496 - *Less* by [Max Mikhailov][]
497 - *Stylus* by [Bryant Williams][]
498 - *Tcl* by [Radek Liska][]
499 - *Puppet* by [Jose Molina Colmenero][]
500 - *Processing* by [Erik Paluka][]
501 - *Twig* templates by [Luke Holder][]
502 - *PowerShell* by [David Mohundro][], based on [the work of Nicholas Blumhardt][ps]
503 - *XL* by [Christophe de Dinechin][]
504 - *LiveScript* by [Taneli Vatanen][] and [Jen Evers-Corvina][]
505 - *ERB* (Ruby in HTML) by [Lucas Mazza][]
506 - *Roboconf* by [Vincent Zurczak][]
508 [b]: http://highlightjs.readthedocs.org/en/latest/building-testing.html
509 [Jeremy Hull]: https://github.com/sourrust
510 [ik]: https://twitter.com/IvanKleshnin/status/514041599484231680
511 [Max Mikhailov]: https://github.com/seven-phases-max
512 [Bryant Williams]: https://github.com/scien
513 [Radek Liska]: https://github.com/Nindaleth
514 [Jose Molina Colmenero]: https://github.com/Moliholy
515 [Erik Paluka]: https://github.com/paluka
516 [Luke Holder]: https://github.com/lukeholder
517 [David Mohundro]: https://github.com/drmohundro
518 [ps]: https://github.com/OctopusDeploy/Library/blob/master/app/shared/presentation/highlighting/powershell.js
519 [Christophe de Dinechin]: https://github.com/c3d
520 [Taneli Vatanen]: https://github.com/Daiz-
521 [Jen Evers-Corvina]: https://github.com/sevvie
522 [Lucas Mazza]: https://github.com/lucasmazza
523 [Vincent Zurczak]: https://github.com/vincent-zurczak
528 We've finally got [real tests][test] and [continuous testing on Travis][ci]
529 thanks to [Jeremy Hull][] and [Chris Eidhof][]. The tests designed to cover
530 everything: language detection, correct parsing of individual language features
531 and various special cases. This is a very important change that gives us
532 confidence in extending language definitions and refactoring library core.
534 We're going to redesign the old [demo/test suite][demo] into an interactive
535 demo web app. If you're confident front-end developer or designer and want to
536 help us with it, drop a comment into [the issue][#542] on GitHub.
538 [test]: https://github.com/isagalaev/highlight.js/tree/master/test
539 [demo]: https://highlightjs.org/static/test.html
540 [#542]: https://github.com/isagalaev/highlight.js/issues/542
541 [ci]: https://travis-ci.org/isagalaev/highlight.js
542 [Jeremy Hull]: https://github.com/sourrust
543 [Chris Eidhof]: https://github.com/chriseidhof
545 As usually there's a handful of new languages in this release:
547 - *Groovy* by [Guillaume Laforge][]
548 - *Dart* by [Maxim Dikun][]
549 - *Dust* by [Michael Allen][]
550 - *Scheme* by [JP Verkamp][]
551 - *G-Code* by [Adam Joseph Cook][]
552 - *Q* from Kx Systems by [Sergey Vidyuk][]
554 [Guillaume Laforge]: https://github.com/glaforge
555 [Maxim Dikun]: https://github.com/dikmax
556 [Michael Allen]: https://github.com/bfui
557 [JP Verkamp]: https://github.com/jpverkamp
558 [Adam Joseph Cook]: https://github.com/adamjcook
559 [Sergey Vidyuk]: https://github.com/sv
563 - [Erik Osheim][] heavily reworked Scala definitions making it richer.
564 - [Lucas Mazza][] fixed Ruby hashes highlighting
565 - Lisp variants (Lisp, Clojure and Scheme) are unified in regard to naming
566 the first symbol in parentheses: it's "keyword" in general case and also
567 "built_in" for built-in functions in Clojure and Scheme.
569 [Erik Osheim]: https://github.com/non
570 [Lucas Mazza]: https://github.com/lucasmazza
577 - *Gherkin* by [Sam Pikesley][]
578 - *Elixir* by [Josh Adams][]
579 - *NSIS* by [Jan T. Sott][]
580 - *VIM script* by [Jun Yang][]
581 - *Protocol Buffers* by [Dan Tao][]
582 - *Nix* by [Domen Kožar][]
583 - *x86asm* by [innocenat][]
584 - *Cap’n Proto* and *Thrift* by [Oleg Efimov][]
585 - *Monkey* by [Arthur Bikmullin][]
586 - *TypeScript* by [Panu Horsmalahti][]
587 - *Nimrod* by [Flaviu Tamas][]
588 - *Gradle* by [Damian Mee][]
589 - *Haxe* by [Christopher Kaster][]
590 - *Swift* by [Chris Eidhof][] and [Nate Cook][]
594 - *Kimbie*, light and dark variants by [Jan T. Sott][]
595 - *Color brewer* by [Fabrício Tavares de Oliveira][]
596 - *Codepen.io embed* by [Justin Perry][]
597 - *Hybrid* by [Nic West][]
599 [Sam Pikesley]: https://github.com/pikesley
600 [Sindre Sorhus]: https://github.com/sindresorhus
601 [Josh Adams]: https://github.com/knewter
602 [Jan T. Sott]: https://github.com/idleberg
603 [Jun Yang]: https://github.com/harttle
604 [Dan Tao]: https://github.com/dtao
605 [Domen Kožar]: https://github.com/iElectric
606 [innocenat]: https://github.com/innocenat
607 [Oleg Efimov]: https://github.com/Sannis
608 [Arthur Bikmullin]: https://github.com/devolonter
609 [Panu Horsmalahti]: https://github.com/panuhorsmalahti
610 [Flaviu Tamas]: https://github.com/flaviut
611 [Damian Mee]: https://github.com/chester1000
612 [Christopher Kaster]: http://christopher.kaster.ws
613 [Fabrício Tavares de Oliveira]: https://github.com/fabriciotav
614 [Justin Perry]: https://github.com/ourmaninamsterdam
615 [Nic West]: https://github.com/nicwest
616 [Chris Eidhof]: https://github.com/chriseidhof
617 [Nate Cook]: https://github.com/natecook1000
621 - The README is heavily reworked and brought up to date by [Jeremy Hull][].
622 - Added [`listLanguages()`][ll] method in the API.
623 - Improved C/C++/C# detection.
624 - Added a bunch of new language aliases, documented the existing ones. Thanks to
625 [Sindre Sorhus][] for background research.
626 - Added phrasal English words to boost relevance in comments.
627 - Many improvements to SQL definition made by [Heiko August][],
628 [Nikolay Lisienko][] and [Travis Odom][].
629 - The shorter `lang-` prefix for language names in HTML classes supported
630 alongside `language-`. Thanks to [Jeff Escalante][].
631 - Ruby's got support for interactive console sessions. Thanks to
633 - Added built-in functions for R language. Thanks to [Artem A. Klevtsov][].
634 - Rust's got definition for lifetime parameters and improved string syntax.
635 Thanks to [Roman Shmatov][].
636 - Various improvements to Objective-C definition by [Matt Diephouse][].
637 - Fixed highlighting of generics in Java.
639 [ll]: http://highlightjs.readthedocs.org/en/latest/api.html#listlanguages
640 [Sindre Sorhus]: https://github.com/sindresorhus
641 [Heiko August]: https://github.com/auge8472
642 [Nikolay Lisienko]: https://github.com/neor-ru
643 [Travis Odom]: https://github.com/Burstaholic
644 [Jeff Escalante]: https://github.com/jenius
645 [Pascal Hurni]: https://github.com/phurni
646 [Jiyin Yiyong]: https://github.com/jiyinyiyong
647 [Artem A. Klevtsov]: https://github.com/unikum
648 [Roman Shmatov]: https://github.com/shmatov
649 [Jeremy Hull]: https://github.com/sourrust
650 [Matt Diephouse]: https://github.com/mdiep
655 This new major release is quite a big overhaul bringing both new features and
656 some backwards incompatible changes. However, chances are that the majority of
657 users won't be affected by the latter: the basic scenario described in the
658 README is left intact.
660 Here's what did change in an incompatible way:
662 - We're now prefixing all classes located in [CSS classes reference][cr] with
663 `hljs-`, by default, because some class names would collide with other
664 people's stylesheets. If you were using an older version, you might still want
665 the previous behavior, but still want to upgrade. To suppress this new
666 behavior, you would initialize like so:
669 <script type="text/javascript">
670 hljs.configure({classPrefix: ''});
671 hljs.initHighlightingOnLoad();
675 - `tabReplace` and `useBR` that were used in different places are also unified
676 into the global options object and are to be set using `configure(options)`.
677 This function is documented in our [API docs][]. Also note that these
678 parameters are gone from `highlightBlock` and `fixMarkup` which are now also
681 - We removed public-facing (though undocumented) object `hljs.LANGUAGES` which
682 was used to register languages with the library in favor of two new methods:
683 `registerLanguage` and `getLanguage`. Both are documented in our [API docs][].
685 - Result returned from `highlight` and `highlightAuto` no longer contains two
686 separate attributes contributing to relevance score, `relevance` and
687 `keyword_count`. They are now unified in `relevance`.
689 Another technically compatible change that nonetheless might need attention:
691 - The structure of the NPM package was refactored, so if you had installed it
692 locally, you'll have to update your paths. The usual `require('highlight.js')`
693 works as before. This is contributed by [Dmitry Smolin][].
697 - Languages now can be recognized by multiple names like "js" for JavaScript or
698 "html" for, well, HTML (which earlier insisted on calling it "xml"). These
699 aliases can be specified in the class attribute of the code container in your
700 HTML as well as in various API calls. For now there are only a few very common
701 aliases but we'll expand it in the future. All of them are listed in the
702 [class reference][cr].
704 - Language detection can now be restricted to a subset of languages relevant in
705 a given context — a web page or even a single highlighting call. This is
706 especially useful for node.js build that includes all the known languages.
707 Another example is a StackOverflow-style site where users specify languages
708 as tags rather than in the markdown-formatted code snippets. This is
709 documented in the [API reference][] (see methods `highlightAuto` and
712 - Language definition syntax streamlined with [variants][] and
715 New languages and styles:
717 - *Oxygene* by [Carlo Kok][]
718 - *Mathematica* by [Daniel Kvasnička][]
719 - *Autohotkey* by [Seongwon Lee][]
720 - *Atelier* family of styles in 10 variants by [Bram de Haan][]
721 - *Paraíso* styles by [Jan T. Sott][]
723 Miscellaneous improvements:
725 - Highlighting `=>` prompts in Clojure.
726 - [Jeremy Hull][] fixed a lot of styles for consistency.
727 - Finally, highlighting PHP and HTML [mixed in peculiar ways][php-html].
728 - Objective C and C# now properly highlight titles in method definition.
729 - Big overhaul of relevance counting for a number of languages. Please do report
730 bugs about mis-detection of non-trivial code snippets!
732 [API reference]: http://highlightjs.readthedocs.org/en/latest/api.html
734 [cr]: http://highlightjs.readthedocs.org/en/latest/css-classes-reference.html
735 [api docs]: http://highlightjs.readthedocs.org/en/latest/api.html
736 [variants]: https://groups.google.com/d/topic/highlightjs/VoGC9-1p5vk/discussion
737 [beginKeywords]: https://github.com/isagalaev/highlight.js/commit/6c7fdea002eb3949577a85b3f7930137c7c3038d
738 [php-html]: https://twitter.com/highlightjs/status/408890903017689088
740 [Carlo Kok]: https://github.com/carlokok
741 [Bram de Haan]: https://github.com/atelierbram
742 [Daniel Kvasnička]: https://github.com/dkvasnicka
743 [Dmitry Smolin]: https://github.com/dimsmol
744 [Jeremy Hull]: https://github.com/sourrust
745 [Seongwon Lee]: https://github.com/dlimpid
746 [Jan T. Sott]: https://github.com/idleberg
751 A catch-up release dealing with some of the accumulated contributions. This one
752 is probably will be the last before the 8.0 which will be slightly backwards
753 incompatible regarding some advanced use-cases.
755 One outstanding change in this version is the addition of 6 languages to the
756 [hosted script][d]: Markdown, ObjectiveC, CoffeeScript, Apache, Nginx and
757 Makefile. It now weighs about 6K more but we're going to keep it under 30K.
761 - OCaml by [Mehdi Dogguy][mehdid] and [Nicolas Braud-Santoni][nbraud]
762 - [LiveCode Server][lcs] by [Ralf Bitter][revig]
763 - Scilab by [Sylvestre Ledru][sylvestre]
764 - basic support for Makefile by [Ivan Sagalaev][isagalaev]
768 - Ruby's got support for characters like `?A`, `?1`, `?\012` etc. and `%r{..}`
770 - Clojure now allows a function call in the beginning of s-expressions
771 `(($filter "myCount") (arr 1 2 3 4 5))`.
772 - Haskell's got new keywords and now recognizes more things like pragmas,
773 preprocessors, modules, containers, FFIs etc. Thanks to [Zena Treep][treep]
774 for the implementation and to [Jeremy Hull][sourrust] for guiding it.
775 - Miscellaneous fixes in PHP, Brainfuck, SCSS, Asciidoc, CMake, Python and F#.
777 [mehdid]: https://github.com/mehdid
778 [nbraud]: https://github.com/nbraud
779 [revig]: https://github.com/revig
780 [lcs]: http://livecode.com/developers/guides/server/
781 [sylvestre]: https://github.com/sylvestre
782 [isagalaev]: https://github.com/isagalaev
783 [treep]: https://github.com/treep
784 [sourrust]: https://github.com/sourrust
785 [d]: http://highlightjs.org/download/
788 ## New core developers
790 The latest long period of almost complete inactivity in the project coincided
791 with growing interest to it led to a decision that now seems completely obvious:
792 we need more core developers.
794 So without further ado let me welcome to the core team two long-time
795 contributors: [Jeremy Hull][] and [Oleg
798 Hope now we'll be able to work through stuff faster!
800 P.S. The historical commit is [here][1] for the record.
802 [Jeremy Hull]: https://github.com/sourrust
803 [Oleg Efimov]: https://github.com/sannis
804 [1]: https://github.com/isagalaev/highlight.js/commit/f3056941bda56d2b72276b97bc0dd5f230f2473f
809 This long overdue version is a snapshot of the current source tree with all the
810 changes that happened during the past year. Sorry for taking so long!
812 Along with the changes in code highlight.js has finally got its new home at
813 <http://highlightjs.org/>, moving from its cradle on Software Maniacs which it
814 outgrew a long time ago. Be sure to report any bugs about the site to
815 <mailto:info@highlightjs.org>.
821 - Handlebars templates by [Robin Ward][]
822 - Oracle Rules Language by [Jason Jacobson][]
823 - F# by [Joans Follesø][]
824 - AsciiDoc and Haml by [Dan Allen][]
825 - Lasso by [Eric Knibbe][]
826 - SCSS by [Kurt Emch][]
827 - VB.NET by [Poren Chiang][]
828 - Mizar by [Kelley van Evert][]
830 [Robin Ward]: https://github.com/eviltrout
831 [Jason Jacobson]: https://github.com/jayce7
832 [Joans Follesø]: https://github.com/follesoe
833 [Dan Allen]: https://github.com/mojavelinux
834 [Eric Knibbe]: https://github.com/EricFromCanada
835 [Kurt Emch]: https://github.com/kemch
836 [Poren Chiang]: https://github.com/rschiang
837 [Kelley van Evert]: https://github.com/kelleyvanevert
841 - Monokai Sublime by [noformnocontent][]
842 - Railscasts by [Damien White][]
843 - Obsidian by [Alexander Marenin][]
844 - Docco by [Simon Madine][]
845 - Mono Blue by [Ivan Sagalaev][] (uses a single color hue for everything)
846 - Foundation by [Dan Allen][]
848 [noformnocontent]: http://nn.mit-license.org/
849 [Damien White]: https://github.com/visoft
850 [Alexander Marenin]: https://github.com/ioncreature
851 [Simon Madine]: https://github.com/thingsinjars
852 [Ivan Sagalaev]: https://github.com/isagalaev
854 Other notable changes:
856 - Corrected many corner cases in CSS.
857 - Dropped Python 2 version of the build tool.
858 - Implemented building for the AMD format.
859 - Updated Rust keywords (thanks to [Dmitry Medvinsky][]).
860 - Literal regexes can now be used in language definitions.
861 - CoffeeScript highlighting is now significantly more robust and rich due to
862 input from [Cédric Néhémie][].
864 [Dmitry Medvinsky]: https://github.com/dmedvinsky
865 [Cédric Néhémie]: https://github.com/abe33
870 - Since this version highlight.js no longer works in IE version 8 and older.
871 It's made it possible to reduce the library size and dramatically improve code
872 readability and made it easier to maintain. Time to go forward!
874 - New languages: AppleScript (by [Nathan Grigg][ng] and [Dr. Drang][dd]) and
875 Brainfuck (by [Evgeny Stepanischev][bolk]).
877 - Improvements to existing languages:
879 - interpreter prompt in Python (`>>>` and `...`)
880 - @-properties and classes in CoffeeScript
881 - E4X in JavaScript (by [Oleg Efimov][oe])
882 - new keywords in Perl (by [Kirk Kimmel][kk])
883 - big Ruby syntax update (by [Vasily Polovnyov][vast])
884 - small fixes in Bash
886 - Also Oleg Efimov did a great job of moving all the docs for language and style
887 developers and contributors from the old wiki under the source code in the
888 "docs" directory. Now these docs are nicely presented at
889 <http://highlightjs.readthedocs.org/>.
891 [ng]: https://github.com/nathan11g
892 [dd]: https://github.com/drdrang
893 [bolk]: https://github.com/bolknote
894 [oe]: https://github.com/Sannis
895 [kk]: https://github.com/kimmel
896 [vast]: https://github.com/vast
901 A regular bug-fix release without any significant new features. Enjoy!
908 - [Marc Fornos][mf] made the definition for Clojure along with the matching
909 style Rainbow (which, of course, works for other languages too).
910 - CoffeeScript support continues to improve getting support for regular
912 - Yoshihide Jimbo ported to highlight.js [five Tomorrow styles][tm] from the
913 [project by Chris Kempson][tm0].
914 - Thanks to [Casey Duncun][cd] the library can now be built in the popular
916 - And last but not least, we've got a fair number of correctness and consistency
917 fixes, including a pretty significant refactoring of Ruby.
919 [mf]: https://github.com/mfornos
920 [tm]: http://jmblog.github.com/color-themes-for-highlightjs/
921 [tm0]: https://github.com/ChrisKempson/Tomorrow-Theme
922 [cd]: https://github.com/caseman
923 [amd]: http://requirejs.org/docs/whyamd.html
928 The reason for the new major version update is a global change of keyword syntax
929 which resulted in the library getting smaller once again. For example, the
930 hosted build is 2K less than at the previous version while supporting two new
935 - The library now works not only in a browser but also with [node.js][]. It is
936 installable with `npm install highlight.js`. [API][] docs are available on our
939 - The new unique feature (apparently) among syntax highlighters is highlighting
940 *HTTP* headers and an arbitrary language in the request body. The most useful
941 languages here are *XML* and *JSON* both of which highlight.js does support.
942 Here's [the detailed post][p] about the feature.
944 - Two new style themes: a dark "south" *[Pojoaque][]* by Jason Tate and an
945 emulation of*XCode* IDE by [Angel Olloqui][ao].
947 - Three new languages: *D* by [Aleksandar Ružičić][ar], *R* by [Joe Cheng][jc]
948 and *GLSL* by [Sergey Tikhomirov][st].
950 - *Nginx* syntax has become a million times smaller and more universal thanks to
951 remaking it in a more generic manner that doesn't require listing all the
952 directives in the known universe.
954 - Function titles are now highlighted in *PHP*.
956 - *Haskell* and *VHDL* were significantly reworked to be more rich and correct
957 by their respective maintainers [Jeremy Hull][sr] and [Igor Kalnitsky][ik].
959 And last but not least, many bugs have been fixed around correctness and
962 Overall highlight.js currently supports 51 languages and 20 style themes.
964 [node.js]: http://nodejs.org/
965 [api]: http://softwaremaniacs.org/wiki/doku.php/highlight.js:api
966 [p]: http://softwaremaniacs.org/blog/2012/05/10/http-and-json-in-highlight-js/en/
967 [pojoaque]: http://web-cms-designs.com/ftopict-10-pojoaque-style-for-highlight-js-code-highlighter.html
968 [ao]: https://github.com/angelolloqui
969 [ar]: https://github.com/raleksandar
970 [jc]: https://github.com/jcheng5
971 [st]: https://github.com/tikhomirov
972 [sr]: https://github.com/sourrust
973 [ik]: https://github.com/ikalnitsky
978 A lot of things happened in highlight.js since the last version! We've got nine
979 new contributors, the discussion group came alive, and the main branch on GitHub
980 now counts more than 350 followers. Here are most significant results coming
981 from all this activity:
983 - 5 (five!) new languages: Rust, ActionScript, CoffeeScript, MatLab and
984 experimental support for markdown. Thanks go to [Andrey Vlasovskikh][av],
985 [Alexander Myadzel][am], [Dmytrii Nagirniak][dn], [Oleg Efimov][oe], [Denis
986 Bardadym][db] and [John Crepezzi][jc].
988 - 2 new style themes: Monokai by [Luigi Maselli][lm] and stylistic imitation of
989 another well-known highlighter Google Code Prettify by [Aahan Krish][ak].
991 - A vast number of [correctness fixes and code refactorings][log], mostly made
992 by [Oleg Efimov][oe] and [Evgeny Stepanischev][es].
994 [av]: https://github.com/vlasovskikh
995 [am]: https://github.com/myadzel
996 [dn]: https://github.com/dnagir
997 [oe]: https://github.com/Sannis
998 [db]: https://github.com/btd
999 [jc]: https://github.com/seejohnrun
1000 [lm]: http://grigio.org/
1001 [ak]: https://github.com/geekpanth3r
1002 [es]: https://github.com/bolknote
1003 [log]: https://github.com/isagalaev/highlight.js/commits/
1006 ## Version 6.1 — Solarized
1008 [Jeremy Hull][jh] has implemented my dream feature — a port of [Solarized][]
1009 style theme famous for being based on the intricate color theory to achieve
1010 correct contrast and color perception. It is now available for highlight.js in
1011 both variants — light and dark.
1013 This version also adds a new original style Arta. Its author pumbur maintains a
1014 [heavily modified fork of highlight.js][pb] on GitHub.
1016 [jh]: https://github.com/sourrust
1017 [solarized]: http://ethanschoonover.com/solarized
1018 [pb]: https://github.com/pumbur/highlight.js
1023 New major version of the highlighter has been built on a significantly
1024 refactored syntax. Due to this it's even smaller than the previous one while
1025 supporting more languages!
1029 - Haskell by [Jeremy Hull][sourrust]
1030 - Erlang in two varieties — module and REPL — made collectively by [Nikolay
1031 Zakharov][desh], [Dmitry Kovega][arhibot] and [Sergey Ignatov][ignatov]
1032 - Objective C by [Valerii Hiora][vhbit]
1033 - Vala by [Antono Vasiljev][antono]
1034 - Go by [Stephan Kountso][steplg]
1036 [sourrust]: https://github.com/sourrust
1037 [desh]: http://desh.su/
1038 [arhibot]: https://github.com/arhibot
1039 [ignatov]: https://github.com/ignatov
1040 [vhbit]: https://github.com/vhbit
1041 [antono]: https://github.com/antono
1042 [steplg]: https://github.com/steplg
1044 Also this version is marginally faster and fixes a number of small long-standing
1047 Developer overview of the new language syntax is available in a [blog post about
1048 recent beta release][beta].
1050 [beta]: http://softwaremaniacs.org/blog/2011/04/25/highlight-js-60-beta/en/
1052 P.S. New version is not yet available on a Yandex CDN, so for now you have to
1053 download [your own copy][d].
1055 [d]: /soft/highlight/en/download/
1060 Fixed bugs in HTML/XML detection and relevance introduced in previous
1063 Also test.html now shows the second best result of language detection by
1069 Past weekend began with a couple of simple additions for existing languages but
1070 ended up in a big code refactoring bringing along nice improvements for language
1075 - Description of C++ has got new keywords from the upcoming [C++ 0x][] standard.
1076 - Description of HTML has got new tags from [HTML 5][].
1077 - CSS-styles have been unified to use consistent padding and also have lost
1078 pop-outs with names of detected languages.
1079 - [Igor Kalnitsky][ik] has sent two new language descriptions: CMake & VHDL.
1081 This makes total number of languages supported by highlight.js to reach 35.
1085 - Custom classes on `<pre>` tags are not being overridden anymore
1086 - More correct highlighting of code blocks inside non-`<pre>` containers:
1087 highlighter now doesn't insist on replacing them with its own container and
1088 just replaces the contents.
1089 - Small fixes in browser compatibility and heuristics.
1091 [c++ 0x]: http://ru.wikipedia.org/wiki/C%2B%2B0x
1092 [html 5]: http://en.wikipedia.org/wiki/HTML5
1093 [ik]: http://kalnitsky.org.ua/
1097 The most significant change is the ability to include language submodes right
1098 under `contains` instead of defining explicit named submodes in the main array:
1103 {begin: '\\n', end: hljs.IMMEDIATE_RE}
1106 This is useful for auxiliary modes needed only in one place to define parsing.
1107 Note that such modes often don't have `className` and hence won't generate a
1108 separate `<span>` in the resulting markup. This is similar in effect to
1109 `noMarkup: true`. All existing languages have been refactored accordingly.
1111 Test file test.html has at last become a real test. Now it not only puts the
1112 detected language name under the code snippet but also tests if it matches the
1113 expected one. Test summary is displayed right above all language snippets.
1118 Fine people at [Yandex][] agreed to host highlight.js on their big fast servers.
1121 [yandex]: http://yandex.com/
1122 [l]: http://softwaremaniacs.org/soft/highlight/en/download/
1125 ## Version 5.10 — "Paris".
1127 Though I'm on a vacation in Paris, I decided to release a new version with a
1128 couple of small fixes:
1130 - Tomas Vitvar discovered that TAB replacement doesn't always work when used
1131 with custom markup in code
1132 - SQL parsing is even more rigid now and doesn't step over SmallTalk in tests
1137 A long-awaited version is finally released.
1141 - Andrew Fedorov made a definition for Lua
1142 - a long-time highlight.js contributor [Peter Leonov][pl] made a definition for
1144 - [Vladimir Moskva][vm] made a definition for TeX
1146 [pl]: http://kung-fu-tzu.ru/
1147 [vm]: http://fulc.ru/
1149 Fixes for existing languages:
1151 - [Loren Segal][ls] reworked the Ruby definition and added highlighting for
1152 [YARD][] inline documentation
1153 - the definition of SQL has become more solid and now it shouldn't be overly
1154 greedy when it comes to language detection
1156 [ls]: http://gnuu.org/
1157 [yard]: http://yardoc.org/
1159 The highlighter has become more usable as a library allowing to do highlighting
1160 from initialization code of JS frameworks and in ajax methods (see.
1163 Also this version drops support for the [WordPress][wp] plugin. Everyone is
1164 welcome to [pick up its maintenance][p] if needed.
1166 [wp]: http://wordpress.org/
1167 [p]: http://bazaar.launchpad.net/~isagalaev/+junk/highlight/annotate/342/src/wp_highlight.js.php
1172 - Jan Berkel has contributed a definition for Scala. +1 to hotness!
1173 - All CSS-styles are rewritten to work only inside `<pre>` tags to avoid
1174 conflicts with host site styles.
1179 Fixed escaping of quotes in VBScript strings.
1184 This version brings a small change: now .ini-files allow digits, underscores and
1185 square brackets in key names.
1190 Fixed small but upsetting bug in the packer which caused incorrect highlighting
1191 of explicitly specified languages. Thanks to Andrew Fedorov for precise
1197 The version to fulfil old promises.
1199 The most significant change is that highlight.js now preserves custom user
1200 markup in code along with its own highlighting markup. This means that now it's
1201 possible to use, say, links in code. Thanks to [Vladimir Dolzhenko][vd] for the
1202 [initial proposal][1] and for making a proof-of-concept patch.
1204 Also in this version:
1206 - [Vasily Polovnyov][vp] has sent a GitHub-like style and has implemented
1207 support for CSS @-rules and Ruby symbols.
1208 - Yura Zaripov has sent two styles: Brown Paper and School Book.
1209 - Oleg Volchkov has sent a definition for [Parser 3][p3].
1211 [1]: http://softwaremaniacs.org/forum/highlightjs/6612/
1212 [p3]: http://www.parser.ru/
1213 [vp]: http://vasily.polovnyov.ru/
1214 [vd]: http://dolzhenko.blogspot.com/
1219 - at last it's possible to replace indentation TABs with something sensible
1220 (e.g. 2 or 4 spaces)
1221 - new keywords and built-ins for 1C by Sergey Baranov
1222 - a couple of small fixes to Apache highlighting
1227 This is one of those nice version consisting entirely of new and shiny
1230 - [Vladimir Ermakov][vooon] created highlighting for AVR Assembler
1231 - [Ruslan Keba][rukeba] created highlighting for Apache config file. Also his
1232 original visual style for it is now available for all highlight.js languages
1233 under the name "Magula".
1234 - [Shuen-Huei Guan][drake] (aka Drake) sent new keywords for RenderMan
1235 languages. Also thanks go to [Konstantin Evdokimenko][ke] for his advice on
1238 [vooon]: http://vehq.ru/about/
1239 [rukeba]: http://rukeba.com/
1240 [drake]: http://drakeguan.org/
1241 [ke]: http://k-evdokimenko.moikrug.ru/
1246 The main change in the new major version of highlight.js is a mechanism for
1247 packing several languages along with the library itself into a single compressed
1248 file. Now sites using several languages will load considerably faster because
1249 the library won't dynamically include additional files while loading.
1251 Also this version fixes a long-standing bug with Javascript highlighting that
1252 couldn't distinguish between regular expressions and division operations.
1254 And as usually there were a couple of minor correctness fixes.
1256 Great thanks to all contributors! Keep using highlight.js.
1261 This version comes with two contributions from [Jason Diamond][jd]:
1263 - language definition for C# (yes! it was a long-missed thing!)
1264 - Visual Studio-like highlighting style
1266 Plus there are a couple of minor bug fixes for parsing HTML and XML attributes.
1268 [jd]: http://jason.diamond.name/weblog/
1273 The biggest news is highlighting for Lisp, courtesy of Vasily Polovnyov. It's
1274 somewhat experimental meaning that for highlighting "keywords" it doesn't use
1275 any pre-defined set of a Lisp dialect. Instead it tries to highlight first word
1276 in parentheses wherever it makes sense. I'd like to ask people programming in
1277 Lisp to confirm if it's a good idea and send feedback to [the forum][f].
1281 - Smalltalk was excluded from DEFAULT_LANGUAGES to save traffic
1282 - [Vladimir Epifanov][voldmar] has implemented javascript style switcher for
1284 - comments now allowed inside Ruby function definition
1285 - [MEL][] language from [Shuen-Huei Guan][drake]
1286 - whitespace now allowed between `<pre>` and `<code>`
1287 - better auto-detection of C++ and PHP
1288 - HTML allows embedded VBScript (`<% .. %>`)
1290 [f]: http://softwaremaniacs.org/forum/highlightjs/
1291 [voldmar]: http://voldmar.ya.ru/
1292 [mel]: http://en.wikipedia.org/wiki/Maya_Embedded_Language
1293 [drake]: http://drakeguan.org/
1301 - DOS bat-files from Alexander Makarov (Sam)
1302 - Diff files from Vasily Polovnyov
1303 - Ini files from myself though initial idea was from Sam
1307 - Zenburn from Vladimir Epifanov, this is an imitation of a
1308 [well-known theme for Vim][zenburn].
1309 - Ascetic from myself, as a realization of ideals of non-flashy highlighting:
1310 just one color in only three gradations :-)
1312 In other news. [One small bug][bug] was fixed, built-in keywords were added for
1313 Python and C++ which improved auto-detection for the latter (it was shame that
1314 [my wife's blog][alenacpp] had issues with it from time to time). And lastly
1315 thanks go to Sam for getting rid of my stylistic comments in code that were
1316 getting in the way of [JSMin][].
1318 [zenburn]: http://en.wikipedia.org/wiki/Zenburn
1319 [alenacpp]: http://alenacpp.blogspot.com/
1320 [bug]: http://softwaremaniacs.org/forum/viewtopic.php?id=1823
1321 [jsmin]: http://code.google.com/p/jsmin-php/
1326 New major version is a result of vast refactoring and of many contributions.
1328 Visible new features:
1330 - Highlighting of embedded languages. Currently is implemented highlighting of
1331 Javascript and CSS inside HTML.
1332 - Bundled 5 ready-made style themes!
1334 Invisible new features:
1336 - Highlight.js no longer pollutes global namespace. Only one object and one
1337 function for backward compatibility.
1338 - Performance is further increased by about 15%.
1340 Changing of a major version number caused by a new format of language definition
1341 files. If you use some third-party language files they should be updated.
1346 A very nice version in my opinion fixing a number of small bugs and slightly
1347 increased speed in a couple of corner cases. Thanks to everybody who reports
1348 bugs in he [forum][f] and by email!
1350 There is also a new language — XML. A custom XML formerly was detected as HTML
1351 and didn't highlight custom tags. In this version I tried to make custom XML to
1352 be detected and highlighted by its own rules. Which by the way include such
1353 things as CDATA sections and processing instructions (`<? ... ?>`).
1355 [f]: http://softwaremaniacs.org/forum/viewforum.php?id=6
1360 [Vladimir Gubarkov][xonix] has provided an interesting and useful addition.
1361 File export.html contains a little program that shows and allows to copy and
1362 paste an HTML code generated by the highlighter for any code snippet. This can
1363 be useful in situations when one can't use the script itself on a site.
1366 [xonix]: http://xonixx.blogspot.com/
1369 ## Version 3.2 consists completely of contributions:
1371 - Vladimir Gubarkov has described SmallTalk
1372 - Yuri Ivanov has described 1C
1373 - Peter Leonov has packaged the highlighter as a Firefox extension
1374 - Vladimir Ermakov has compiled a mod for phpBB
1376 Many thanks to you all!
1381 Three new languages are available: Django templates, SQL and Axapta. The latter
1382 two are sent by [Dmitri Roudakov][1]. However I've almost entirely rewrote an
1383 SQL definition but I'd never started it be it from the ground up :-)
1385 The engine itself has got a long awaited feature of grouping keywords
1386 ("keyword", "built-in function", "literal"). No more hacks!
1388 [1]: http://roudakov.ru/
1393 It is major mainly because now highlight.js has grown large and has become
1394 modular. Now when you pass it a list of languages to highlight it will
1395 dynamically load into a browser only those languages.
1399 - Konstantin Evdokimenko of [RibKit][] project has created a highlighting for
1400 RenderMan Shading Language and RenderMan Interface Bytestream. Yay for more
1402 - Heuristics for C++ and HTML got better.
1403 - I've implemented (at last) a correct handling of backslash escapes in C-like
1406 There is also a small backwards incompatible change in the new version. The
1407 function initHighlighting that was used to initialize highlighting instead of
1408 initHighlightingOnLoad a long time ago no longer works. If you by chance still
1409 use it — replace it with the new one.
1411 [RibKit]: http://ribkit.sourceforge.net/
1416 Highlight.js is a parser, not just a couple of regular expressions. That said
1417 I'm glad to announce that in the new version 2.9 has support for:
1419 - in-string substitutions for Ruby -- `#{...}`
1420 - strings from from numeric symbol codes (like #XX) for Delphi
1425 A maintenance release with more tuned heuristics. Fully backwards compatible.
1430 - Nikita Ledyaev presents highlighting for VBScript, yay!
1431 - A couple of bugs with escaping in strings were fixed thanks to Mickle
1432 - Ongoing tuning of heuristics
1434 Fixed bugs were rather unpleasant so I encourage everyone to upgrade!
1439 - Peter Leonov provides another improved highlighting for Perl
1440 - Javascript gets a new kind of keywords — "literals". These are the words
1441 "true", "false" and "null"
1443 Also highlight.js homepage now lists sites that use the library. Feel free to
1444 add your site by [dropping me a message][mail] until I find the time to build a
1447 [mail]: mailto:Maniac@SoftwareManiacs.Org
1452 This version fixes IE breakage in previous version. My apologies to all who have
1453 already downloaded that one!
1458 - added highlighting for Javascript
1459 - at last fixed parsing of Delphi's escaped apostrophes in strings
1460 - in Ruby fixed highlighting of keywords 'def' and 'class', same for 'sub' in
1466 - Ruby support by [Anton Kovalyov][ak]
1467 - speed increased by orders of magnitude due to new way of parsing
1468 - this same way allows now correct highlighting of keywords in some tricky
1469 places (like keyword "End" at the end of Delphi classes)
1471 [ak]: http://anton.kovalyov.net/
1476 Version 1.0 of javascript syntax highlighter is released!
1478 It's the first version available with English description. Feel free to post
1479 your comments and question to [highlight.js forum][forum]. And don't be afraid
1480 if you find there some fancy Cyrillic letters -- it's for Russian users too :-)
1482 [forum]: http://softwaremaniacs.org/forum/viewforum.php?id=6