Barebones CMS 1.x - Syntax Highlighter shortcode | NOT COMPATIBLE WITH Barebones CMS 2.0!
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
support/syntaxhighlighter
widgets/bb_content/shortcodes
README.md
package.json

README.md

Barebones CMS - Syntax Highlighter shortcode

Adds a new shortcode to the content editor that makes it easy to embed highlighted source code (PHP, Javascript, C/C++, etc.) that leverages a third-party Javascript library with some modifications to improve certain languages. Designed to show various source code examples in a user-friendly fashion.

Leverages Alex Gorbatchev's third-party library SyntaxHighlighter (ver 2.1.382). (http://alexgorbatchev.com/wiki/SyntaxHighlighter)

License

Same as Barebones CMS. MIT or LGPL (your choice).

Automated Installation

To install this shortcode, use the built-in Barebones CMS extension installer.

Once installed, click "Configure Security" from within the content widget options list to set up the new shortcode's security options.

Manual Installation

Upload the 'support' and 'widgets' subdirectories to your Barebones CMS installation.

Once installed, click "Configure Security" from within the content widget options list to set up the new shortcode's security options.