21 June 2010

Code Highlighting on MovableType

Dan Mayer
Dan Mayer @danmayer

def code_highlighting puts "this is a highlight"end I found a syntaxhighlighter plugin, which makes it simple to use SyntaxHighlighter on Movable Type. After downloading and unzipping the plugin in your MT directory. Just add the <pre> MTSyntaxHighlighterInclude </pre> tag to your templates and then choose the SyntaxHighlighter format when making a post.

Categories