Highlight.js - Javascript Syntax Highlighter

  •        84

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. It supports 176 languages and 79 styles, automatic language detection, multi-language code highlighting and lot more.

https://highlightjs.org/
https://github.com/isagalaev/highlight.js

Tags
Implementation
License
Platform

   




Related Projects

SyntaxHighlighter - Fully functional self-contained code syntax highlighter developed in JavaScript


SyntaxHighlighter is THE client side highlighter for the web and web-apps! It's been around since 2004 and it's used virtually everywhere to seamlessly highlight code for presentation purposes. SyntaxHighlighter is currently used and has been used in the past by Microsoft, Apache, Mozilla, Yahoo, Wordpress, Bug Labs, Freshbooks and many other companies and blogs.

Prism - Lightweight, robust, elegant syntax highlighting


Prism is a lightweight, robust, elegant syntax highlighting library. It's a spin-off project from Dabblet. The core is 2KB minified & gzipped. Languages add 0.3-0.5KB each, themes are around 1KB. Define new languages or extend existing ones. Add new features thanks to Prism’s plugin architecture. It supports parallelism with Web Workers, if available. All styling is done through CSS, with sensible class names like .comment, .string, .property etc

Highlight Syntax Editor


Syntax Editor is text editor for displaying text content that need extra formatting (text highlighting). It is completely written in C#. With this text editor, you can make use of one of the predefined highlight styles, like C# or Java, or create your own custom syntax. ...

SharePoint 2013 Syntax Highlighting


This project allows users to apply syntax highlighting to code snippits via the SharePoint 2013 Ribbon UI, with no server side code.

vue-syntax-highlight - Sublime Text syntax highlighting for single-file Vue components


Sublime Text Syntax highlighting for single-file Vue.js components (enabled by vue-loader or vueify).NOTE: You still need to install corresponding packages for pre-processors (e.g. Jade, SASS, CoffeeScript) to get proper syntax highlighting for them.


NShader - HLSL - GLSL - CG - Shader Syntax Highlighter AddIn for Visual Studio


NShader is an extension to Visual Studio 2008/2010/2012 that provides syntax highlighting for various shader languages including HLSL - GLSL - CG.

WLW Wordpress.com Syntax Highlighter Plugin


A Windows Live Writer plugin for Wordpress.com Syntax Highlighter that allows you to enter in code, select a language, and outputs the correct syntax to highlight your code. With this plugin you can write code for your blog and have it auto highlight

Pygments - Syntax Highlighter in Python


Pygments is a generic syntax highlighter for general use in all kinds of software such as forum systems, wikis or other applications that need to prettify source code. It supports all common programming languages. It will take source code (or other markup) in a supported language and output a processed version (in different formats) containing syntax highlighting markup. It suports a number of output formats like HTML, RTF, LaTeX and ANSI sequences (console output).

MagicPython - Cutting edge Python syntax highlighter for Sublime Text, Atom and Visual Studio Code


This is a package with preferences and syntax highlighter for cutting edge Python 3, although Python 2 is well supported, too. The syntax is compatible with Sublime Text, Atom and Visual Studio Code. It is meant to be a drop-in replacement for the default Python package. We are proud to say that MagicPython is used by GitHub to highlight Python.

JUSH - JavaScript Syntax Highlighter


JUSH is a syntax highlighting component written in JavaScript. It highlights HTML, CSS, JS, PHP and SQL code embedded into each other. Beside syntax highlighting, it provides links to the documentation for all supported languages.

copy-syntax-highlight-osx


Copy Syntax Highlight for OS X is an OS X service which copies the selected text to the clipboard, with proper syntax highlighting for the given language.

Rainbow - Code Syntax Highlighting Library in Javascript


Rainbow is a code syntax highlighting library written in JavaScript. It was designed to be lightweight (1.4kb), easy to use, and extendable. It is completely themable via CSS. If you have a language specific pattern that you want highlighted, but it does not exist in the language syntax rules you can add a rule on your page.

slippy - HTML Presentations


At the core, slide decks are simple HTML files. Every slide can be any html element, but is typically a div or section. You initialize slippy by calling slippy() on a jQuery selection, for example, if you add the slide class to all your slide divs, use: $(".slide").slippy({}). Using the slide class is recommended because that's what the default CSS file is using, but you're free to do what you want. In addition, if you want syntax highlighting, you should add the following files. Using it is simple, just create a <pre> tag with a class="brush: js" to highlight javascript code for example. You can read more on the SyntaxHighlighter website itself.

vim-vue - Syntax Highlight for Vue.js components


Vim syntax highlighting for Vue components. This was initially forked from darthmall/vim-vue. I already have an implementation for this but found his code much cleaner. That's why I created a new version instead of a PR.

zsh-syntax-highlighting - Fish shell like syntax highlighting for Zsh.


* Arch Linux: [community/zsh-syntax-highlighting](https://www.archlinux.org/packages/zsh-syntax-highlighting) / [AUR/zsh-syntax-highlighting-git](https://aur.archlinux.org/packages/zsh-syntax-highlighting-git)* Gentoo: [mv overlay](http://gpo.zugaina.org/app-shells/zsh-syntax-highlighting)

chroma - A general purpose syntax highlighter in pure Go


NOTE: As Chroma has just been released, its API is still in flux. That said, the high-level interface should not change significantly.Chroma takes source code and other structured text and converts it into syntax highlighted HTML, ANSI-coloured text, etc.

GeSHi - Generic Syntax Highlighter


GeSHi - Generic Syntax Highlighter for PHP. Used to highlight almost any code for the web. Nearly 150 supported languages: PHP, HTML, C and more. Styles can be changed on the fly and CSS classes can be used to reduce the amount of XHTML compliant output.

EditBox


EditBox is the Eclipse plugin for source code background highlighting. While most of plugins highlight the syntax of the source code, EditBox highlights the selected block of the code by changing its background color and drawing border around it.

ZeroBraneStudio - Lightweight Lua-based IDE for Lua with code completion, syntax highlighting, live coding, remote debugger, and code analyzer; supports Lua 5


ZeroBrane Studio is a lightweight cross-platform Lua IDE with code completion, syntax highlighting, remote debugger, code analyzer, live coding, and debugging support for various Lua engines (Lua 5.1, Lua 5.2, Lua 5.3, LuaJIT, LÖVE, Moai, Gideros, Corona, Marmalade Quick, Cocos2d-x, OpenResty/Nginx, Torch7, Redis, GSL-shell, Adobe Lightroom, Lapis, Moonscript, and others). No compilation is needed for any of the installation options, although the scripts to compile required libraries for all supported platforms are available in the build/ directory.

dotnetfireball


Fireball Framework is project that aim to create the best controls and libraries for developer, the project already contains some control, CodeEditorControl with Syntax Highlight, Collections,Outlook Navigation bar and etc..