Log in or register to post comments
Last post
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: 

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 ?

please update for ckeditor 4

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

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!

Updated version

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

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

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!