[TxMt] Trying to match triple-backticks
Mike McQuaid
mike at mikemcquaid.com
Thu Jan 7 13:00:39 UTC 2016
Hi!
I’m trying to match the triple-backticks raw block Markdown extension e.g.:
```
this is a raw block
```
I’m using the following pattern:
{ name = 'markup.raw.block.markdown';
begin = '(^|\G)([`~]{3,})';
end = '(^|\G)([`~]{3,})';
beginCaptures = { 2 = { name = 'punctuation.definition.raw.markdown'; }; };
},
Unfortunately this just seems to never “end” and just matches the “begin” repeatedly.
Does anyone have any suggestions here?
Thanks!
Mike McQuaid
http://mikemcquaid.com
More information about the textmate
mailing list