The act of converting content from its original format into a format capable of being displayed on the web
Manage Multiple WordPress Sites

51 Language Code Highlighting With Over 20 Themes — highlight.js

highlight.js is a library for highlighting code in a beautiful manner.

highlightjs 51 Language Code Highlighting With Over 20 Themes    highlight.js

Highlight is a rather old library, but its 7th version was released just recently with several important updates:

  • Size reduced to less than 2k;
  • New languages;
  • Highlight.js is now node-compatible;
  • Numerous bugfixes;

Basically, if you need a comprehensive code highlighting library, pick highlight.js — it’s easy to use, well documented and is of a polyglot nature; for language-specific projects alternatives, such as Rainbow, are also a viable choice.

 

Manage WordPress Blogs

Comments: