165 Commits

Author SHA1 Message Date
Le Tan
04a020ba20 use highlightjs for code block highlight in edit mode 2019-07-27 21:22:24 +08:00
Le Tan
b020629b9f code block highlight via Pygment 2019-07-23 20:40:13 +08:00
Le Tan
151481cfca add config [web]/enable_code_block_copy_button 2019-06-24 20:23:50 +08:00
Le Tan
09df438f2e Editor: bug fix for smart table caused by QString.arg() 2019-06-10 20:45:33 +08:00
Le Tan
13d0c60e59 add config table_format_interval for smart table 2019-06-04 20:38:10 +08:00
Le Tan
de1e6ed3fa Revert "change default MathJax CDN"
This reverts commit 802a38b86c61f470efe9767d494142817cd0141b.

It seems that jsdeliver is not safe enough.
2019-04-18 20:34:26 +08:00
Le Tan
802a38b86c change default MathJax CDN 2019-04-18 20:10:12 +08:00
Le Tan
b122632ad4 refine default configs 2019-04-09 20:16:31 +08:00
Le Tan
93d2001519 support N to view current note's information in Captain mode 2019-04-03 21:53:04 +08:00
Le Tan
8871f56368 add config global/sync_note_list_to_current_tab to auto locate to current tab in note list 2019-03-28 19:01:33 +08:00
Le Tan
5fff26a8b6 add user track logics 2019-01-25 09:24:09 +08:00
Le Tan
e06ce87710 add config enable_smart_table to control whether format tables automatically 2019-01-15 20:41:22 +08:00
Le Tan
dd12a6cdf3 change default openGL option 2018-12-15 12:54:44 +08:00
Le Tan
1a8820eb02 change default OpenGL and startup page type 2018-12-10 21:56:57 +08:00
Le Tan
64960cc3c5 editor: support prepend_dot_in_relative_path config 2018-12-03 19:51:04 +08:00
Le Tan
12d5bb27ef markdown: support WaveDrom diagram in language wavedrom code block
In place preview is not supported.
2018-11-30 21:01:31 +08:00
Le Tan
28eb48cc2e PegParser: support ~~~ as fenced code block 2018-11-22 20:31:47 +08:00
Le Tan
1951b30b11 OpenGL: add option in settings on Windows to specify OpenGL implementation 2018-11-07 20:31:53 +08:00
Le Tan
64d2aab76a TagExplorer: support spliting file list out 2018-11-03 20:45:49 +08:00
Le Tan
73b1db7a52 NotebookPanel: support spliting file list out 2018-11-03 20:03:12 +08:00
Le Tan
a21a1e723a Editor: support specifying font via settings to override style 2018-11-02 19:54:23 +08:00
Le Tan
aeb2263be3 Editor: support auto scrolling cursor line into center 2018-10-30 20:47:41 +08:00
Le Tan
43fcdd502a Editor: support Ctrl+Shift+V to paste as plain text 2018-10-12 20:19:32 +08:00
Le Tan
5cc8d6c8f1 MdEditor: support downloading images to local when Parse&Paste 2018-09-30 23:00:58 +08:00
Le Tan
574aa4e70a KeyboardLayout: support specifying keyboard layout mappings
Captain mode now supports different layout mappings.
2018-09-29 18:37:50 +08:00
Le Tan
9b83d50116 fix
- Selection style in mdhl does not work on macOS. Choose another Vim
visual line background.
- Disable multiple keyboard layout support on macOS.
- Make close_before_external_editor work when opening with default
program.
2018-09-21 19:41:07 +08:00
Le Tan
68dc2425a9 Editor: support highlighting tabs 2018-09-18 19:27:42 +08:00
Le Tan
62c0f218df MdTab: focus bug fix and find-in-page in expanded preview mode 2018-09-12 20:35:43 +08:00
Le Tan
a055d6e935 Editor: highlight matches of full-text search result in page 2018-09-12 20:34:43 +08:00
Le Tan
647807a918 Editor: refine find logics 2018-09-10 20:26:39 +08:00
Le Tan
c4c7f99ca7 suport Quick Access by Ctrl+Alt+I 2018-09-06 21:11:55 +08:00
Le Tan
3d188fa648 add config insert_new_note_in_front 2018-09-06 21:08:46 +08:00
Le Tan
060c02297b LivePreview: support bidirectional smart live preview 2018-09-05 20:16:05 +08:00
Le Tan
ffa413fa26 Captain: fix captain mode in diffrent keyboard layout 2018-09-02 15:21:25 +08:00
Le Tan
68dd95591d vim: add x for exemption key 2018-08-31 20:22:42 +08:00
Le Tan
cda48a612a LivePreview: smart live preview 2018-08-26 14:12:02 +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
33f4631f91 EditWindow: support middle click to close a tab 2018-08-15 19:55:02 +08:00
Le Tan
4db6c1cc7b move Vim option from menu to settings 2018-08-10 20:46:03 +08:00
Le Tan
4fbe2d87b7 MdEditOperations: support auto block quote 2018-08-09 20:00:42 +08:00
Le Tan
2e7b2e1e5d TagPanel: add two configs to control the behavior
- max_tag_label_length
- max_num_of_tag_labels
2018-07-27 21:04:50 +08:00
Le Tan
b4554e1be8 MainWindow: remember expanded state 2018-07-24 21:03:31 +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
bb308a06d1 PegMarkdownHighlighter: multi-threads highlighter support 2018-07-12 20:19:23 +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
5ebc7b8243 Outline: support increase/decrease the expanded level
Add config [global]/outline_expanded_level (6 by default).
2018-07-04 19:07:43 +08:00
Le Tan
bc932fa913 CaptainMode: Y to focus to edit area 2018-07-03 20:27:35 +08:00
Le Tan
8d600632b4 update MathJax CDN 2018-06-09 09:21:11 +08:00
Le Tan
e59a23cda6 MainWindow: support hiding tool bar
ToolBar: Ctrl+E Shift+#
2018-06-08 20:01:19 +08:00