RJ Insert Code plugin
Insert code plugin for TinyMCE
The RJ_InsertCode project is a TinyMCE plugin that will automatically style code samples for different languages. Its core architecture is based on the Insertcode plugin for older versions of TinyMCE, but it has been almost fully rewritten.
There is a simplified setup, more features, a JCE 1.5 installer, and a commented codebase to assist in learning how it works and tweaking it.
Features:
- Highlight over 100 languages with the GeSHi generic syntax highligher including ActionScript, ASP, C, C#, C, HTML, Java, JavaScript, Lua, Perl, PHP, Python, Ruby, SQL, Visual BASIC, and XML
- Inline the style sheet information into the HTML, or use style sheet classes to reduce file size
- Optional header text for your code block
- Optional line numbers displayed to the left of your code
- Specify the first line number
- Specify the width and height of a scrollable code window
Get more info on RJ Insert Code home page: http://www.ryanjuckett.com
TinyMCE 4
Install RJ Insert Code plugin in TinyMCE 4
- Download plugin from developer website
- Copy
rj_insertcode
directory totinymce/plugins/
. - Edit TinyMCE config and add
rj_insertcode
toplugins
key - Add buttons to the
toolbar
section:rj_insertcode
Tell a friend about RJ Insert Code
Share
Tweet
Send
Reviews
Be the first who will write a feedback for this plugin.