[TxMt] Re: Adding code syntax highlight to markdown blogging.
Brett Terpstra
brett at circlesixdesign.com
Tue Mar 6 03:24:35 UTC 2007
If you'd be willing to share your grammar file once you've succeeded,
I'd love to see it. I've gotten rudimentary support for my excerpt
and slug plugins, but have only been able to highlight the bracketed
tags, not the text in-between. I suck at grammar files ;).
Thanks,
Brett
On Mar 5, 2007, at 8:18 PM, Luke Daley wrote:
>
> 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.
>
>
> ______________________________________________________________________
> For new threads USE THIS: textmate at lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
> http://lists.macromates.com/mailman/listinfo/textmate
More information about the textmate
mailing list