Skip to main content

DjangoCMS syntax highlighting plugin allowing for easy integration with SyntaxHighlighter.

Project description

cmsplugin_syntax_highlight adds integration with SyntaxHighlighter at http://alexgorbatchev.com/SyntaxHighlighter/.

Features:

Contributions and comments are welcome using Github at: http://github.com/nmurrin/cmsplugin_syntax_highlight

cmsplugin_syntax_highlight requires SyntaxHighlighter available at http://alexgorbatchev.com/SyntaxHighlighter/.

Installation

  1. pip install cmsplugin_syntax_highlight

  2. Add ‘cmsplugin_syntex_highlight’ to INSTALLED_APPS

  3. Run syncdb

Configuration

  1. Indicate the location of SyntaxHighlighter in your settings file with SYNTAX_HIGHLIGHTER = ‘/media/syntaxhighlighter/’. Indicate the actual location in your project.

  2. There are templates included for the programming languages that I commonly use. If you need additional languages or just want to change the template then create a cmsplugin_syntax_highlight directory in your templates directory and add templates. They will be ‘discovered’ by the plugin.

Bugs and Contribution

Please use Github to report bugs, feature requests and submit your code: http://github.com/nmurrin/cmsplugin_syntax_highlight

author:

Norm Murrin

date:

2013/05/08

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cmsplugin_syntax_highlight-0.1.5.tar.gz (8.3 kB view details)

Uploaded Source

File details

Details for the file cmsplugin_syntax_highlight-0.1.5.tar.gz.

File metadata

File hashes

Hashes for cmsplugin_syntax_highlight-0.1.5.tar.gz
Algorithm Hash digest
SHA256 c6452738c3a3ba4ae0ef6929a9038ceca0382bc4f0d40026a3d427fd63957d9f
MD5 4e9e429b93e09de6c26d2dcf87124107
BLAKE2b-256 59b5a6692dbe868b623f752e470aeffc6e27b71d2ba11677df7f699c4b7d76d0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page