Skip to main content

Allows you to add Google Prettify formatted code as plugin text

Project description

DjangoCMS Code Prettify

An extension for Django CMS that adds the Google Code Prettify js for text fields.


  1. Install with pip pip install djangocms-code-prettify

  2. Add djangocms_code_prettify to INSTALLED_APPS

  3. Run migrations python migrate


See notes here:

After installation simply add the plugins to the page.


Google Code Prettify can only load one style per page. This is due to simple structure and CSS that applies to generic Code objects.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for djangocms-code-prettify, version 1.1.0
Filename, size File type Python version Upload date Hashes
Filename, size djangocms_code_prettify-1.1.0-py3-none-any.whl (10.6 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size djangocms-code-prettify-1.1.0.tar.gz (6.1 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page