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.
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.
markItUp! is a JavaScript plugin built on the jQuery library. It allows you to turn any textarea into a markup editor. Html, Textile, Wiki Syntax, Markdown, BBcode or even your own Markup system can be easily implemented.
markItUp! is a very lightweight, customizable and flexible engine made to meet the developer's needs in their CMSes, blogs, forums or websites.