14 Commits

Author SHA1 Message Date
Le Tan
70caa4d932 editor: auto format table 2018-11-28 19:31:26 +08:00
Le Tan
1ce8c05da9 MdEditor: support copy in-place preview 2018-08-19 12:06:50 +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
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
f5bbc1ccd7 PegHighlighter: support math 2018-07-13 20:32:22 +08:00
Le Tan
93b26f41e4 preview: support force background for previewed images
- Add [editor]/preview-image-background config in MDHL;
- Will fill background first before drawing an image if specified;
2018-06-06 21:53:02 +08:00
Le Tan
aa5960f974 preview non-codeblock MathJax 2018-04-18 20:55:14 +08:00
Le Tan
9566e6f5d2 highlight: highlight MathJax formula in editor 2018-04-13 19:51:01 +08:00
Le Tan
cfcc7e5494 support in place preview and live preview of code blocks 2018-04-10 20:58:07 +08:00
Le Tan
6ba12f7932 bug-fix: add code block indentation in VTextBlockData to get a correct highlight
- Won't treat all the text to the end as code block once we add a new
line within a code block;
- Fix color column by adding the code block indentation bias.
2018-01-01 16:08:26 +08:00
Le Tan
4ec340a403 refactor preview logics
Use block user data to store preview info.
2017-11-29 21:45:20 +08:00
Le Tan
c3408769b0 refactor VImagePreviewer 2017-09-05 20:54:15 +08:00