Help - Search - Members - Calendar
Full Version: Code Highlithing Plugins
Movable Type Community Forum > Additional Resources > Plugin Development and Usage
peter1234
After trying endless time to use the mt-colorer (http://klim.doslash.org/projects/mtcolorer/index.shtml) plugin on my mt 4.2 blog, i assume that this didn't run under mt 4.x?
could someone please recommened me a plugin to highlight perl code in my postings
OtherNiceMan
I did use Google's SyntaxHighlighter http://code.google.com/p/syntaxhighlighter/ with this perl brush http://nevstokes.com/includes/syntax/scripts/shBrushPerl.js

I then used private tags and EntryIfTagged to include the javascript only on specific pages (@code added the core files then @perl for perl highlighting, @html for html etc). The problem I had was in the entry, you have to switch to html and add attributes to the pre tags to work. For the moment (until I have time to write a plugin) I have switch back to just using pre tags and no highlighting.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.