djangocms-code-prettify 1.1.0

Creator: codyrutscher

Last updated:

Add to Cart

Description:

djangocmscodeprettify 1.1.0

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


Install with pip pip install djangocms-code-prettify


Add djangocms_code_prettify to INSTALLED_APPS


Run migrations python manage.py migrate


Usage
See notes here:

https://github.com/google/code-prettify
https://github.com/google/code-prettify/blob/master/docs/getting_started.md

After installation simply add the plugins to the page.
Notes
Google Code Prettify can only load one style per page.
This is due to simple structure and CSS that applies to generic Code objects.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.