Highlight.js – A syntax highlighter

   

Highlight.js is a syntax highlighter written in JavaScript. It works in the browser as well as on the server. It works with pretty much any markup, doesn’t depend on any framework and has automatic language detection.
The bare minimum for using highlight.js on a web page is linking to the library along with one of the styles and calling initHighlightingOnLoad:

highlight

Features:
  • 112 languages and 49 styles (live demo)
  • Automatic language detection
  • Multi-language code highlighting
  • Available for node.js
  • Works with any markup
  • Compatible with any js framework
  • Highlight.js

    DMCA.com Protection Status