Pattern recognition gives out after a while


I created an extension to the Markdown syntax highlighting file. It works, but only up to a certain point. There is a lot of this pattern in my files, and after about 25 of them on a line, the syntax highlighting stops working. The DOM inspector shows that the pattern is no longer recognized as my extension, even though the markings are identical. Is there a cap on this? If so, how do I increase it?


This is a known issue. Atom currently only highlights the first 100 tokens per line.

Extend a grammar (in small words)

I followed the link and installed the package created to fix this. So far, so good.