Socket
Socket
Sign inDemoInstall

cmsplugin_syntax_highlight

Package Overview
Dependencies
0
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    cmsplugin_syntax_highlight

DjangoCMS syntax highlighting plugin allowing for easy integration with SyntaxHighlighter.


Maintainers
1

Readme

========================== cmsplugin_syntax_highlight

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

Features:

  • Use as an individual plugin or use in text plugins.
  • Auto-discovered custom templates used to select programming language and modeled after template handling in cmsplugin_gallery under https://github.com/centralniak/cmsplugin_gallery

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

#. pip install cmsplugin_syntax_highlight #. Add 'cmsplugin_syntex_highlight' to INSTALLED_APPS #. Run syncdb

Configuration

#. Indicate the location of SyntaxHighlighter in your settings file with SYNTAX_HIGHLIGHTER = '/media/syntaxhighlighter/'. Indicate the actual location in your project.

#. 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

FAQs


Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc