In any document that exceeds 500 lines and uses multi-line math excessively, the app will fail to interpret multi-line math correctly and instead attempt to render any non-math text that occurs between instances of multi-line math.
Steps to reproduce:
1 - With Markless' Latex math rendering enabled, begin a new .md document.
2 - Enter the following:
$$
\frac{1}{2}
$$
Normal text
...followed by the enter key. Observe that 1/2 renders as math while the normal text remains normal.
3 - Press Ctrl+A and Ctrl+C. Then hold Ctrl+V until the document line count exceeds 500.
Expected result: The text surrounded by double dollar signs continues to render as math.
Actual result: The text outside the double dollar signs gets rendered as math while the \frac{1}{2} lines are displayed as literal text.
Note: The failure occurs whenever the code in runner.js, line 157, in the definition of function updateDecorations is triggered. A temporary workaround is possible at the risk of performance issues. Open %USERPROFILE%.vscode\extensions\tejasvi.markless-1.0.7\src\main.js and navigate to "document.linecount>500" at line 57. Modify the value of 500 to be arbitrarily high.
