Log in or register to post comments
Last post
dleffler12's picture
Joined: 11/03/2011
Posts: 12
SyntaxHighlighter v3
A CKEditor plugin to help with the markup required to use the SyntaxHighlighter by Alex Gorbatchev http://alexgorbatchev.com/wiki/SyntaxHighlighter This plugin is for v3 of the highlighter

Screenshots

License

Licensed under the terms of any of the following licenses at your choice: GPL, LGPL and MPL.

Installation

1. Extract the contents of the file into the "plugins" folder of CKEditor.
2. In the CKEditor configuration file (config.js) add the following code:

    config.extraPlugins = 'syntaxhighlight';
    

config.toolbar = 
[
    [ 'Source', '-', 'Bold', 'Italic', 'syntaxhighlight' ]
];
    

3. You must also install Syntaxhighlighter v3.0.83 from http://alexgorbatchev.com/wiki/SyntaxHighlighter and reference it in your pages

Attachments: 

1024mb's picture
Joined: 14/12/2012
Posts: 3
With current version of ckeditor doesn't work

hello dleffler12 with current version of ckeditor doesn't work, the dialog box is not show up, can your fix it ?

stefanstp's picture
Joined: 26/02/2008
Posts: 23
please update for ckeditor 4

please update for ckeditor 4 please. thank you very much!!!!!!!!!!!!!!

raptor's picture
Joined: 22/01/2013
Posts: 1
for ckeditor 4

I found this SyntaxHighlighter CKEditor Button(Wordpress plugin) can work on ckeditor 4.

http://wordpress.org/extend/plugins/syntaxhighlighter-ckeditor-button/

usage:

download and unzip

copy the syntaxhighlight subdirectory to ckeditor's plugins directory and replace this one

it works!

sz
sz's picture
Joined: 05/02/2013
Posts: 10
Updated version

This plugin actually got updated recently. You can download it at

https://github.com/dbrain/ckeditor-syntaxhighlight/tree/ckeditor-4

sz
sz's picture
Joined: 05/02/2013
Posts: 10
Available via ckeditor's plugin library

Now it's even available on ckeditor's plugin library: http://ckeditor.com/addon/syntaxhighlight

Give it a 5 star rating if you like it!