9 Commits

Author SHA1 Message Date
Le Tan
284cba698f PegMarkdownHighlight: refine fast parse 2018-07-31 20:41:49 +08:00
Le Tan
bfac189cb7 PegMarkdownHighlighter: cache result for performance 2018-07-30 21:55:07 +08:00
Le Tan
8679ffa051 PegMarkdownHighlighter: improve performance 2018-07-29 10:17:59 +08:00
Le Tan
76554b63f4 PegHighlighter: bug fix for single format blocks 2018-07-20 20:07:07 +08:00
Le Tan
48db50fd5e PegHighlighter: refine fast parse
- Fast parse block range: look upward till the indentation is 0;
- Rehighlight all the fast-parsed blocks explicitly;
- Do not reset block user state by default;
- Pre highlight single format blocks to avoid jitter of line height;
2018-07-17 20:43:28 +08:00
Le Tan
abee597812 PegHighlighter: support fast parse 2018-07-14 12:45:15 +08:00
Le Tan
926e053d37 PegHighlighter: brush code block indentation 2018-07-13 20:32:34 +08:00
Le Tan
f5bbc1ccd7 PegHighlighter: support math 2018-07-13 20:32:22 +08:00
Le Tan
bb308a06d1 PegMarkdownHighlighter: multi-threads highlighter support 2018-07-12 20:19:23 +08:00