Metadata-Version: 2.1
Name: djangocms-code-prettify
Version: 1.1.0
Summary: Allows you to add Google Prettify formatted code as plugin text
Home-page: https://github.com/mcldev/djangocms-code-prettify
Author: Google, Michael Carder
License: MIT
Platform: UNKNOWN
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Framework :: Django
Classifier: Framework :: Django :: 1.11
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Description-Content-Type: text/markdown
Requires-Dist: Django (>=1.11)
Requires-Dist: django-cms (>=3.5)

DjangoCMS Code Prettify
=======================

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


Installation
------------

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

2. Add ``djangocms_code_prettify`` to INSTALLED_APPS

3. 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.


