Drupal code snippets in wysiwyg editor

After searching for a way to do code snippets in wysiwyg/tinymce, I had to go for wysiwyg/ckeditor/geshi. The ckeditor had to be 3.x (4+ would not work with wysiwyg).

The Drupal modules needed:

The dev version of wysiwyg: http://drupal.org/project/Wysiwyg

The geshi filter module: http://drupal.org/project/geshifilter

The wysiwyg button: http://drupal.org/project/wysiwyg_geshi_button

The extra software for the sites/all/libraries/ folder:

CKeditor version 3.x: http://ckeditor.com/

GeSHi - Generic Syntax Highlighter: http://sourceforge.net/projects/geshi/files/

 

 

Tags:

Share: