Monaco Editor is the code editor that powers VS Code. It is licensed under the MIT License and supports Edge, Chrome, Firefox, Safari and Opera.
SHJS 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.
Prettier is an opinionated JavaScript formatter inspired by refmt with advanced support for language features from ES2017, JSX, and Flow.
Prettier gets rid of all original styling and guarantees consistency by parsing JavaScript into an AST and pretty-printing the AST.
microlight.js is a micro-library which improves readability of code snippets by highlighting, for any programming language, yet without attaching additional language packages or styles
Prism is a lightweight, extensible syntax highlighter, built with modern web standards in mind.
jQuery JSONView is a plugin to view JSON in a more readable format. It offers some methods and options to customize.
Highlight.js highlights syntax in code examples on blogs, forums and, in fact, on any web page. It's very easy to use because it works automatically: finds blocks of code, detects a language, highlights it.
Features
jQuery Litelighter is a lightweight yet powerful syntax highlighting plugin. It comes with light and dark themes and js, html, css languages by default.