18 Commits

Author SHA1 Message Date
Le Tan
126600dbb1 LivePreview: refine smart live preview
- Support class diagram.
- Support activity diagram.
2018-08-28 20:43:51 +08:00
Le Tan
cda48a612a LivePreview: smart live preview 2018-08-26 14:12:02 +08:00
Le Tan
3c423061f6 LivePreview: update live preview when using old cache 2018-08-22 20:08:58 +08:00
Le Tan
d4daf32f20 MdEditor: support copying diagram in puml and graphviz 2018-08-22 20:01:31 +08:00
Le Tan
b9da920bb4 Preview: fill background 2018-08-15 21:07:22 +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
bb308a06d1 PegMarkdownHighlighter: multi-threads highlighter support 2018-07-12 20:19:23 +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
4284d20dea preview: add cache for code block in-place preview 2018-05-15 21:24:08 +08:00
Le Tan
d0c38add94 preview: refine scaling in-place preview of diagrams 2018-05-15 20:12:00 +08:00
Le Tan
14070ab67a preview: scaled in-place preview of diagrams 2018-05-14 22:24:30 +08:00
Le Tan
5dbdcb8cba bug-fix: try to fix the crash in CodeBlockPreviewInfo::updateInplacePreview() 2018-04-28 21:37:26 +08:00
Le Tan
aa5960f974 preview non-codeblock MathJax 2018-04-18 20:55:14 +08:00
Le Tan
10e2bba7f6 support Mermaid and Flowchart.js preview
Mermaid preview is disabled for some issues.
2018-04-12 19:31:13 +08:00
Le Tan
8239abec2a support code block MathJax preview 2018-04-11 19:53:33 +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
c6b7561864 VMdTab: live preview 2018-04-10 20:58:07 +08:00