This is a simple wordpress plugin for highlight.js library. Highlight.js highlights syntax in code examples on blogs, forums and in fact on any web pages. It's very easy to use because it works automatically: finds blocks of code, detects a language, highlights it.
- works with comments
- high performance
- nice colorshemes
1C, ActionScript, Apache, AVR Asm, Axapta, Bash, CMake, CoffeeScript C++, C#, CSS, D, Delphi, Diff, Django, Dos, Erlang, Erlang REPL, Go, GLSL, Haskell, HTTP, Ini, Java, JavaScript, JSON, Lisp, Lua, Markdown, MatLab, MEL, Nginx, Objective C, Parser3, Perl, PHP, Python profile, Python, R, RenderMan RSL, RenderMan RIB, Ruby, Rust, Scala, Smalltalk, SQL, TeX, Vala, VBscript, VHDL, HTML/XML, HTTP
- Upload
wp-highlight.js
to the/wp-content/plugins/
directory - Activate the plugin through the 'Plugins' menu in WordPress
- Use
[code lang="some_lang"]some code[/code]
construction for highlighting or[code]some code[/code]
for highlighting with language autodetection. You also can use<pre><code>
tags instead[code]
bb-tag.
- Author: Igor Kalnitsky
- Wordpress: http://wordpress.org/extend/plugins/wp-highlightjs/
- Version: 0.2
- License: GPLv3