Syntaxhighlighter for standalone CKEditor module

Published by Lennart Van Vaerenbergh on April 3, 2015

If you're looking for a CKEditor code embed plugin (+ code highlighting) and you don't want to use the wysiwyg module to implement CKEditor, this is it: Syntax highlighter for CKEditor.
It's a sandbox module, so you'll have to git via git clone in command line. Open a command line interface, navigate to your Drupal website's module folder and git clone the project:
git clone --branch master http://git.drupal.org/sandbox/eduardoa/2157351.git syntax_highlighter_for_ckeditor
Follow the instructions on the project page to enable the syntaxhighlighter.

Config screenshot

I myself am a big fan of the standalone ckeditor module, so I was looking for this syntaxhighlighter plugin to use in combination with this module. While ckeditor in wysiwyg does support it out of the box, I still don't want all the overhead.

Example: you can print code snippets in your content like this:
<?php
  print 'Hello world!';
?>

Add new comment

(If you're a human, don't change the following field)
Your first name.
(If you're a human, don't change the following field)
Your first name.
CAPTCHA
This challenge is for testing whether or not you are a human visitor and to prevent automated spam submissions.