254 Commits

Author SHA1 Message Date
Le Tan
185f6d0dcb fix image title constraint 2018-08-24 20:14:38 +08:00
Le Tan
94828a65ad Vim: support specifying leader key via [editor]/vim_leader_key 2018-08-24 20:13:35 +08:00
Le Tan
5d4b450fab UniversalEntry: add parent directory name before item name in the result 2018-08-22 20:08:32 +08:00
Le Tan
d4daf32f20 MdEditor: support copying diagram in puml and graphviz 2018-08-22 20:01:31 +08:00
Le Tan
1ce8c05da9 MdEditor: support copy in-place preview 2018-08-19 12:06:50 +08:00
Le Tan
f98c2f5382 MdEditor: aware of links and images in edit mode 2018-08-18 18:47:29 +08:00
Le Tan
dc1f1c4535 MdEditor: support pasting HTML as converted Markdown text via Turndown 2018-08-17 22:42:21 +08:00
Le Tan
b9da920bb4 Preview: fill background 2018-08-15 21:07:22 +08:00
Le Tan
0508e8f34d Completion: consider word separator 2018-08-15 19:55:52 +08:00
Le Tan
35f66ba88e Preview: scale SVG via QSvgRenderer 2018-08-15 19:55:20 +08:00
Le Tan
4fbe2d87b7 MdEditOperations: support auto block quote 2018-08-09 20:00:42 +08:00
Le Tan
e2eb4efb45 MdEidtOperations: support * as list bullet in auto list 2018-08-08 20:40:45 +08:00
Le Tan
efd3740198 add hint for re-opening tabs 2018-08-07 20:59:33 +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
9b49de3ab5 MdEditOperations: Ctrl+U to delete till the space of block 2018-07-27 21:05:07 +08:00
Le Tan
72fb0f18c6 flowchart.js: update to 1.11.3 2018-07-25 06:47:16 +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
59efed94f3 config: add [global]/image_name_prefix for inserted images 2018-07-15 20:06:05 +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
d06dcc36f5 markdown-it-texmath: add constraint to the end of the block equation 2018-07-13 20:32:10 +08:00
Le Tan
d9c8051fa3 editor: Ctrl+; to insert inline code, Ctrl+J/K to scroll page 2018-07-07 17:57:00 +08:00
Le Tan
35be1516ed markdown-it: use markdown-it-texmath to get rid of escape of MathJax 2018-07-05 20:41:16 +08:00
Le Tan
7305706294 export: escape ' by %27 in data URI 2018-07-03 19:35:17 +08:00
Le Tan
b2690a42e7 bug-fix: exclude all whitespaces except space in file name 2018-06-30 22:17:20 +08:00
Le Tan
62f4471b46 export: escape '#' in data URI body as "%23" 2018-06-30 22:17:07 +08:00
Le Tan
fad6003660 export: fix rendering issue of non-ASCII chars in Graphviz
We use SVG format for Graphviz when exporting to PDF to avoid specifying
proper font.
2018-06-30 22:15:55 +08:00
Le Tan
3bd80387fa SettingsDialog: add test buttons for PlantUML and Graphviz 2018-06-16 09:00:36 +08:00
Le Tan
a5e64696ea web: fix finishLogics() bug
Treat MathJax as an async job.
2018-06-16 09:00:14 +08:00
Le Tan
dceec24021 Utils: fix onlyHasImgInHtml() to consider <span> and <div> 2018-06-08 20:02:42 +08:00
Le Tan
7f8075f0ca bug-fix: fix Command+-/= to zoom out/in in read mode on macOS 2018-06-01 17:46:42 +08:00
Le Tan
c302cd3bfc AttachmentList: support Info action to rename an attachment
This will fix the input method issue on macOS.
2018-05-29 19:52:37 +08:00
Le Tan
d3a5642d06 fix paste image issue
- Will detect whether there is only <img> in html;
- Detect local file when handling text;
2018-05-27 12:12:24 +08:00
Le Tan
2ff9c607dd explorer: support exploring system's files 2018-05-26 13:26:59 +08:00
Le Tan
89677c8261 notebook: support relative path (to app's directory) 2018-05-23 20:09:14 +08:00
Le Tan
3c8ac8094d VMetaWordManager: lazy initialization 2018-05-23 20:08:58 +08:00
Le Tan
18ee02d920 IconUtils: add cache to avoid redundant I/O 2018-05-18 20:58:10 +08:00
Le Tan
8f24d38bf8 export: remove <title> in embedded SVGs
Pandoc will take it as the title of the document by mistake.
2018-05-14 20:41:44 +08:00
Le Tan
f8717465c3 refine QFormLayout policy for VSearcher on macOS 2018-05-14 20:39:49 +08:00
Le Tan
3eb3db874e markdown-it: support emoji 2018-05-11 14:39:51 +08:00
Le Tan
dba154b2c3 support specifying image size in preview 2018-05-06 21:40:00 +08:00
Le Tan
6558fa85b7 markdown-it: support specifying image size via markdown-it-imsize plugin
Only supported in read mode.
2018-05-05 12:34:17 +08:00
Le Tan
de678b5d6d vim: Ctrl+C to enter Normal mode if vim_exemption_keys does not contain c 2018-05-02 20:02:06 +08:00
Le Tan
2dbb114b47 fix image issue
1. Do not judge the image format from the file suffix;
2. Enable file: scheme in Markdown-it;
2018-04-27 20:35:17 +08:00
Le Tan
4afefbe964 markdown-it: aware of YAML format metadata in notes 2018-04-24 07:53:09 +08:00
Le Tan
cba8b1c047 embed images in exported html 2018-04-24 07:51:57 +08:00
Le Tan
1d0621cac3 refine README 2018-04-20 19:55:54 +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