JavaScript syntax highlighter with language auto-detection
Highlight.js is a syntax highlighter written in JavaScript. It works in the browser as well as on the server. It can work with pretty much any markup, doesn’t depend on any other frameworks, and has automatic language detection. Highlight.js supports over 180 languages in the core library. There are also 3rd party language definitions available to support even more languages. We strongly recommend <pre><code> wrapping for code blocks. It's quite semantic and "just works" out of the box with zero fiddling. ...
...System requirements / Download the desktop app OR:
* a CSS2.1 compliant web browser with JavaScript 1.5 or later engine
* Node.js 0.10.0 or later installed
* OR a web server with PHP 5.2.0 or later extension
* 1024x768 minimum resolution
All major browsers supported, including: FF 4+, IE 8+, Edge, Safari 4+, Chrome 2+, Opera 10+., IOS 4+, Android 2.3+.