Skip to content

django-cms-plugins/cmsplugin_syntax_highlight

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cmsplugin_syntax_highlight

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_syntax_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

About

Django CMS plugin supporting syntax highlighting.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published