254 Commits

Author SHA1 Message Date
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 " 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
Le Tan
2f1971476d VMdEditor: support copy selected text as HTML 2018-01-04 13:27:42 +08:00
Le Tan
c5afe0bef0 disable cursor line block if cursor line highlight is disabled 2018-01-02 20:42:22 +08:00
Le Tan
7986ebe475 VWebView: alter copied Html in VWebView to paste correctly in OneNote 2017-12-28 22:19:39 +08:00
Le Tan
00d7f5e013 bug-fix: loop to setMimeData to clipboard in Windows 2017-12-28 19:26:43 +08:00
Le Tan
be1827b0c4 change predefined_colors to custom_colors 2017-12-25 19:43:28 +08:00
Le Tan
c0c4b8602a add VTipsDialog to display hints about some actions 2017-12-22 19:33:42 +08:00
Le Tan
03122a24db bug-fix: fix images when cutting files
1. De-duplicate the images occur multiple times in the note;
2. Refresh the read mode and edit mode preview after the directory path
change;
3. Update init images and inserted images after the directory path
change;
2017-12-21 21:02:56 +08:00
Le Tan
d46917d6a9 vim-mode: fix movement with block cursor 2017-12-21 21:02:56 +08:00
Le Tan
2373a0326e vim-mode: amend cursor position after mouse release 2017-12-21 21:02:56 +08:00
Le Tan
4b32fca9b5 themes: add v_moonlight theme for dark mode 2017-12-16 20:18:51 +08:00
Le Tan
2c1e8e33fe vim-mode: support g0 (start of visual line) 2017-12-14 21:14:45 +08:00
Le Tan
70eb04ebd2 vim-mode: fix w/W/e/E/b/B/ge/gE movement with block cursor 2017-12-14 18:22:40 +08:00
Le Tan
1dcd65e7dd themes: bug fix 2017-12-11 20:48:18 +08:00