Code Snippet

This plugin lets you insert rich code snippets with syntax highlighting into the editor.

The default implementation uses the integrated highlight.js library, but the plugin can be easily customized to use a different syntax highlighter, including a server-side one. An example of such implementation is the Code Snippet GeSHi plugin that is an extension of this plugin.

Additionally, the you can also use the following configuration options:

See the Code Snippet plugin documentation for more information.

Screenshots

codesnippet

162,748 downloads (view stats)

This is an official plugin provided and supported by CKEditor developers.

You can submit bug reports directly to its GitHub issues tracker and discuss any integration issues on StackOverflow.

Releases

Plugin versions CKEditor versions
4.24 4.23 4.22

Version: 4.23.0-lts

DownloadRelease notes

First major release of CKEditor 4.23.0-lts

Version: 4.22.1

DownloadRelease notes

First minor release of CKEditor 4.22.1

Twitter Facebook Facebook Instagram Medium Linkedin GitHub Arrow down Phone Menu Close icon Check