Template Syntax Highlighting in Movable Type Templating Entries

| 1 Comment | No TrackBacks |
As you may have noticed, from time to time I illustrate an entry on this blog with a little snippet of template code.  For example, something like: <mt:Entries> or even <$mt:Link template="archive_index"$>.  As you can see, these snippets come with the same syntax highlighting used in Movable Type's template editing screens.  Here is a little tip to get the same effect on your blog. 
The tip is really simple: use Google Chrome as your browser and simply copy-paste the desired snippet of template code from the template editor into the entry editor, and the highlighting will be preserved.

For some weird reason this seems to work on Chrome but not on Firefox or IE (I tried on Windows XP and on Windows 7).  Who cares why, right?  It is just nice to know that it works should you need it.

If you are one of those weird people using a Mac, let me know in the comments if this works for you too...

No TrackBacks

TrackBack URL: https://www.movabletips.com/cgi-bin/mt/mt-tb.cgi/20

1 Comment

Unfortunatly WebKit is not supporting Colored Syntax on Mac. Safari and Chrome are displaying code in black vs. FirFox which is displaying code in color, but FireFox is not keeping the colors during pasting in entry editor.

Leave a comment