CPN was covered by a recent webinar by Mediacurrent: http://www.mediacurrent.com/blog/webinar-code-node (this is also mentioned in DrupalEasy podcast 120)
After the usual module installation, you should:
- Install CodeMirror (tested with v3.20) to
- Turn on syntax highlighting at
- Configure the global settings at
- Set appropriate permissions at
- Enable per-content type settings at
- While the priority is the D7 version, effort is being made to backport all improvements to D6 too.
- The 6.x-1.x and 7.x-1.x branches both support Libraries API for the installation of CodeMirror.
- An excellent tutorial has been written by Jeff Geerling that explains how to migrate from inline CSS/JS in the node body into CPN.
This module provides functionality similar to other modules. I'll outline the differences, as I best understand them:
- Inline CSS Checker: use this to find any content that has inline CSS in text fields.
Continued development is sponsored by Mediacurrent.
- Maintenance status: Actively maintained
- Development status: Under active development
- Reported installs: 3,252 sites currently report using this module. View usage statistics.
- Downloads: 11,196
- Automated tests: Enabled
- Last modified: January 20, 2014