[TxMt] Re: Adding code syntax highlight to markdown blogging.

Luke Daley ld at ldaley.com
Tue Mar 6 02:18:06 UTC 2007


On 06/03/2007, at 12:12 PM, Jacob Rus wrote:

> I think your best bet is to duplicate the markdown grammar and make  
> modifications locally.  It's possible though that you could get  
> away with doing it by making a new grammar and inheriting the  
> markdown grammar.  See the textmate docs.

Will do, thanks.

> Incidentally, what's the point of the [/perl] part.  It seems like  
> the end of a code block is pretty unambiguous…

That is just what the plugin dictates. It seems necessary to me  
though, considering that you don't have to indent the code block.

- Luke.




More information about the textmate mailing list