The Code Snippet GeSHi is an extension of codesnippet plugin,
which uses GeSHi server-side syntax highlighting engine instead
of default, client-side highlight.js.
With codesnippetgeshi loaded, codeSnippet_languages config variable can be used
to reduce list of available languages.
CKEDITOR.replace( 'editor1', {
extraPlugins: 'codesnippet,codesnippetgeshi',
codeSnippet_languages: {
html4strict: 'HTML',
html5: 'HTML5',
javascript: 'JavaScript',
php: 'PHP',
sql: 'SQL'
},
codeSnippetGeshi_url: 'http://example.com/geshi/colorize.php'
} );
Please note that this plugin is not compatible with Internet Explorer 8.