Le Tan
70caa4d932
editor: auto format table
2018-11-28 19:31:26 +08:00
Le Tan
313a8647a8
PegParser: support TABLE style
2018-11-23 19:46:33 +08:00
Le Tan
28eb48cc2e
PegParser: support ~~~ as fenced code block
2018-11-22 20:31:47 +08:00
Le Tan
6a470ba2f4
PegParser: update PegMarkdownHighlight for MathJax
...
1. Support $ in $$..$$;
2. Support raw display formula \begin{}...\end{}
2018-11-01 19:55:31 +08:00
Le Tan
e1091e0d80
PegMarkdownHighlighter: dynamic fast parse timer interval
2018-08-22 20:01:50 +08:00
Le Tan
1fe975b1ad
PegMarkdownHighlighter: recognize code block among new blocks
2018-08-20 19:45:56 +08:00
Le Tan
6793855164
PegMarkdownHighlighter: tune performance
2018-08-14 20:08:27 +08:00
Le Tan
968e74e1ca
PreviewManager: refactor layout logics
...
- Bug fix: use cached image name in preview helpers;
- Only relayout necessary blocks;
2018-08-13 20:14:18 +08:00
Le Tan
b94a9489d2
PegMarkdownHighlighter: fix the timer issue
2018-08-10 20:46:15 +08:00
Le Tan
4fbe2d87b7
MdEditOperations: support auto block quote
2018-08-09 20:00:42 +08:00
Le Tan
56bcc9be54
PegMarkdownHighlighter: use cached result to highlight before fast parse
2018-08-08 20:39:59 +08:00
Le Tan
77954a7d64
VTextDocumentLayout: hold layout info in block data
2018-08-07 20:59:46 +08:00
Le Tan
e5ff101085
fix compilation error
2018-08-04 19:19:43 +08:00
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
0ae6b1a810
theme: refine styles for MARK
2018-07-25 21:19:20 +08:00
Le Tan
76554b63f4
PegHighlighter: bug fix for single format blocks
2018-07-20 20:07:07 +08:00
Le Tan
17b1a606d5
PegHighlighter: fix index-out-of-scope issue when parsing results
...
When user inserts many empty lines at once, the increated block number
may exceed the range of the parser result.
2018-07-20 20:06:36 +08:00
Le Tan
83f1909e84
fix compiler warnings
2018-07-20 07:15:11 +08:00
Le Tan
4d953542f2
VTextDocumentLayout: draw block background for HRULE
2018-07-17 20:43:43 +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