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.
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for djangocms-code-prettify-1.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 003d3711fc2b4b48b50973027a5333422264357a59c98cc9f2e4e358f12bda36 |
|
MD5 | 3e0bccd63b3e8e160be70613c2b406f3 |
|
BLAKE2b-256 | b15530e1140ea84a8069e2b83c5db37eb7d2bbd0b5d706d8f3571908a5532081 |
Close
Hashes for djangocms_code_prettify-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa1be03a087546df72c860fddb0905344a29e6ce4be7dded78a7c0c5fd67033a |
|
MD5 | b9e2bb8fd1fc4ddf574f67352182f0c9 |
|
BLAKE2b-256 | 9610c4f75e31787a340b7d39bd48e9769667f0afc07b7655db2a1d42086db3e4 |