burnbright / silverstripe-syntaxhighlight
Mashup of tiny mce syntax-highlighted code entry, and front-end syntax highlighting via javascript syntaxhighlighter library, for SilverStripe CMS.
Package info
github.com/burnbright/silverstripe-syntaxhighlight
Type:silverstripe-module
pkg:composer/burnbright/silverstripe-syntaxhighlight
dev-master
2017-08-30 19:14 UTC
Requires
This package is auto-updated.
Last update: 2026-02-24 22:27:45 UTC
README
Allows creating syntax-highlighted code snippets within TinyMCE.
Usage
In your TinyMCE editor, click the 'Syntaxhighlighter' button. Use the provided form to choose language type, and enter/paste code in space provided. Click insert to insert code. Code should be automatically highlighted on the front-end.
Credits
- SyntaxHighlighter - http://alexgorbatchev.com/SyntaxHighlighter/
- SyntaxHL TinyMCE plugin - https://github.com/RichGuk/syntaxhl