I use emacs, org-mode and org2blog for blogging in wordpress. For source code highlighting I want to use wordpress cranyon-plugin, but this plugin is not supported by org2blog. The following extension acts as a backend for org2blog and overrides the default behaviour.


For installation download the file and place it into your favourite lisp folder within .emacs.d directory. After that copy the following code into your init.el file.

; load crayon export-engine after org2blog has been loaded
(setq load-path (append load-path '("~/.emacs.d/YOUR_LISP_FOLDER/")))
(require 'ox-wp-crayon)

Leave a comment

Your email address will not be published. Required fields are marked *