Skip to content

This is 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.

Notifications You must be signed in to change notification settings

GrigoryPtashko/wp-highlight.js

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

wp-highlight.js

Description

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.

Features:

  • works with comments
  • high performance
  • nice colorshemes

Languages

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

Installation

  1. Upload wp-highlight.js to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. 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.

Meta

About

This is 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.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published