Skip to content

Latest commit

 

History

History
78 lines (48 loc) · 2.24 KB

README.rst

File metadata and controls

78 lines (48 loc) · 2.24 KB

djangocms-highlightjs

Join the Gitter chat Latest PyPI version Python versions Latest Travis CI build status Test coverage Code Climate License

highlight.js plugin for django CMS

Support Python version:

  • Python 2.7, python 3.5+

Supported Django versions:

  • Django 1.11, 2.0, 2.1, 2.2

Supported django CMS versions:

  • django CMS 3.5+

Documentation

The full documentation is at http://djangocms-highlightjs.rtfd.org.

Quickstart

  1. Install djangocms-highlightjs:

    pip install djangocms-highlightjs
    
  2. Add to INSTALLED_APPS:

    'djangocms_highlightjs',
    
  3. Update the database schema:

    $ python manage migrate djangocms_highlightjs
    
  4. Add "highlight.js code" plugin to your placeholders

Features

  • Use highlight.js to do syntax highlighting on provided code