217 Commits

Author SHA1 Message Date
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
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
2206102945 support Graphviz 2018-04-10 20:58:07 +08:00
Le Tan
9850d9a2a2 support PlantUML 2018-04-04 20:30:36 +08:00
Le Tan
a2c2d57570 UniversalEntry: add z to search content of note in all notebooks 2018-03-29 19:48:03 +08:00
Le Tan
ff4a2d0b91 markdown-it: add options for subscript and superscript 2018-03-19 20:05:26 +08:00
Le Tan
e38ec22263 editor: add PasteAsBlockQuote menu action 2018-03-16 22:37:30 +08:00
Le Tan
47b4cc88aa support sorting items by clicking the column header 2018-03-16 21:37:56 +08:00
Le Tan
7c9da2a37c search: support && and || logical operator
- Space-separated keywords are combined as AND;
- && and || for AND and OR;
- Do not support using both && and ||;
- When multiple keywords are specified, will not show all the matched lines.
2018-03-15 22:00:14 +08:00
Le Tan
a2ee5413a1 support search
- Ctrl+E C to toggle the search dock;
2018-03-13 20:45:44 +08:00
Le Tan
9cc193178b export: add TOC function to built-in PDF export 2018-03-04 20:19:27 +08:00
Le Tan
fb73fdad77 export: bug fix 2018-03-04 11:33:44 +08:00
Le Tan
635ac0a10b export: fix wkhtmltopdf
- MathJax works fine;
- Mermaid does not work;
- Flowchart.js works fine;
2018-03-03 09:14:21 +08:00
Le Tan
2bb2910fec add enable_flash_anchor config
It controls whether we need to flash the heading when we scroll to it in
read mode.
2018-03-02 22:36:51 +08:00
Le Tan
2d3567e460 refine interface with shortcut hints 2018-02-26 19:30:20 +08:00
Le Tan
fe7c446e5f export: handle HTML resources 2018-02-26 19:30:06 +08:00
Le Tan
7069f7268b palette: add mermaid css file config 2018-02-25 11:04:11 +08:00
Le Tan
1fe7567d79 export: support HTML format 2018-02-25 10:01:18 +08:00
Le Tan
60635fe5e7 export: support custom background, style 2018-02-23 19:54:07 +08:00
Le Tan
ad81e655a5 refine menu 2018-02-23 19:53:59 +08:00
Le Tan
4a4e4ed377 add copy target Evernote 2018-02-23 19:53:44 +08:00
Le Tan
878a272777 add VTreeWidget with simple search and convert VDirectoryTree to it 2018-02-03 16:33:00 +08:00
Le Tan
0f6e9e1905 refactor VListWidget 2018-02-03 12:09:57 +08:00
Le Tan
4267ea54c8 do not print debug log in release mode
Add -d argument to print debug log in release mode.
2018-01-26 23:08:18 +08:00
Le Tan
97721f3e92 bug-fix: use en locale for help docs if user's locale is missing 2018-01-25 21:13:21 +08:00
Le Tan
b45f1d9518 fix font-family issue in WeChat Public Account editor
It could not recognize &quot; in font-family.
2018-01-22 20:29:00 +08:00
Le Tan
06cac36412 support Vim command mode in read mode 2018-01-21 14:27:49 +08:00
Le Tan
333be910cc enalbe Vim cmd line for searching in read mode 2018-01-19 21:56:21 +08:00
Le Tan
0b885e1639 output built-in themes on startup 2018-01-16 21:05:35 +08:00
Le Tan
45526cc0a8 bug-fix
- Caculate font height every time on painting line number area;
- Support specifying multiple fonts in font-family in qss;
- Add margin for "li ol" in CSS;
2018-01-16 21:05:35 +08:00
Le Tan
a20ff08bb8 small fixes 2018-01-12 19:55:54 +08:00
Le Tan
632a007808 support copy as Web Editor 2018-01-10 21:24:31 +08:00
Le Tan
14df9e6e90 refine copy HTML logics 2018-01-10 10:39:45 +08:00
Le Tan
b9e8bc0eb4 enable MathJax in fenced code block 2018-01-07 19:14:29 +08:00
Le Tan
324d7cd444 VWebView: add css_color_mapping in palette file for copying HTMl
If the mapping is specified, we will replace the foreground color with
the mapping when the content is copied.
2018-01-05 19:36:40 +08:00
Le Tan
2bdad19253 vim-mode: fix % behovior in d/c command 2018-01-04 21:15:13 +08:00
Le Tan
7e1a254073 disable subscript and supscript in Markdown-it since the conflict with MathJax 2018-01-04 19:54:20 +08:00