[TxMt] Re: Including / extending language grammars

Matt Foster matt.p.foster at gmail.com
Tue Nov 25 08:06:39 UTC 2008

On Mon, Nov 24, 2008 at 11:26 PM, Allan Odgaard
<mailinglist at textmate.org> wrote:
> On 24 Nov 2008, at 10:37, Matt Foster wrote:
>> [...]
>> This includes the markdown grammar, but breaks everything else that is
>> in a paragraph.
> That's because Markdown has begin/end rules for paragraphs, so that
> grammar "takes over" the paragraphs.
> There is no straightforward way to inherit yet augment Markdown as
> things are now.

Ahh, I see. I'd need the wiki rules to be included in meta.paragraph.markdown.

For now then, I just clone markdown's grammar and add the wiki scopes to it.


Matt Foster | http://hackerific.net

More information about the textmate mailing list