This plugin lets you insert rich code snippets with syntax highlighting provided by the server-side GeSHi engine into the editor.
Please note that this plugin requires some additional server-side configuration effort and installing additional components on your side. Check the Code Snippet GeSHi guide for more information.
See the GeSHi library documentation for a list of supported languages and examples.
The recommended way to install all CKEditor add-ons is to create a custom build by using Online builder. To do that, click the Add to my editor button on the plugin page. When you are done, click the Build my editor button on the right side of the page to go to Online builder.
Note: This add-on is already selected to be a part of your current build.
Add-on installation instructions
If you want to add the plugin manually, you will need to:
- Extract the downloaded plugin
pluginsfolder of your CKEditor installation. Example:
- Enable the plugin by using the
extraPluginsconfiguration setting. Example:
config.extraPlugins = 'codesnippetgeshi';
- Download and configure all its dependencies, too.