An open API service indexing awesome lists of open source software.

https://github.com/fabricesalvaire/cmsplugin-getthecode

Django CMS plugin to show source code
https://github.com/fabricesalvaire/cmsplugin-getthecode

django-cms-plugin

Last synced: 3 months ago
JSON representation

Django CMS plugin to show source code

Awesome Lists containing this project

README

        

.. image:: https://badge.fury.io/py/cmsplugin-getthecode.svg
:target: https://badge.fury.io/py/cmsplugin-getthecode

.. image:: https://img.shields.io/pypi/dm/cmsplugin-getthecode.svg
:target: https://pypi.python.org/pypi/cmsplugin-getthecode

.. image:: https://img.shields.io/pypi/status/cmsplugin-getthecode.svg
:target: https://pypi.python.org/pypi/cmsplugin-getthecode

.. image:: https://img.shields.io/pypi/pyversions/cmsplugin-getthecode.svg
:target: https://pypi.python.org/pypi/cmsplugin-getthecode

.. image:: https://img.shields.io/pypi/l/cmsplugin-getthecode.svg
:target: https://raw.githubusercontent.com/FabriceSalvaire/cmsplugin-getthecode/master/LICENSE.txt

==============================
Django CMS Get The Code Plugin
==============================

`Django CMS `_ Get The Code Plugin provides a plugin that allows you to
show and highlight a source code file in a page. A link to the file in the media library permits to
download it.

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

This plugin requires django CMS 3.0.12 or higher to be properly installed.

* Within your ``virtualenv`` run ``pip install cmsplugin-getthecode``
* Add ``'cmsplugin-getthecode'`` to your ``INSTALLED_APPS`` setting.
* Run ``manage.py migrate cmsplugin-getthecode``.

Usage
-----

TBD