1244 Commits

Author SHA1 Message Date
Le Tan
76554b63f4 PegHighlighter: bug fix for single format blocks 2018-07-20 20:07:07 +08:00
Le Tan
25ec41c3f0 WebView: fix context menu in preview mode 2018-07-20 20:06:55 +08:00
Le Tan
41bf2d9cec MdTab: fix reload() logic to re-load images 2018-07-20 20:06:46 +08:00
Le Tan
17b1a606d5 PegHighlighter: fix index-out-of-scope issue when parsing results
When user inserts many empty lines at once, the increated block number
may exceed the range of the parser result.
2018-07-20 20:06:36 +08:00
Le Tan
46738c7f6e theme: refine styles 2018-07-20 20:06:25 +08:00
Le Tan
83f1909e84 fix compiler warnings 2018-07-20 07:15:11 +08:00
Le Tan
21e5aac024 VTextEdit: force to update() to show cursor while dragging text
This is a work-around.
2018-07-19 20:53:09 +08:00
Le Tan
42fbdace55 VNoteFile: update config file after save() to update the modified time 2018-07-19 20:52:45 +08:00
Le Tan
6f1a0c6980 docs: add superscript and subscript description 2018-07-19 20:52:26 +08:00
Le Tan
dec308cbde editor: fix the style sheet issue 2018-07-19 20:52:07 +08:00
Le Tan
976f7ff403 theme: refine styles 2018-07-18 20:05:59 +08:00
Le Tan
1c7e91d26d Explorer: add Up button to go up to parent directory 2018-07-18 20:05:45 +08:00
Le Tan
2ae742cc07 UniversalEntry: U to search the content of notes in Explorer root directory 2018-07-18 20:05:27 +08:00
Le Tan
5f65dc95c5 VSearch: support searching Explorer directory 2018-07-18 20:04:57 +08:00
Le Tan
98f2238dd1 style: do not override background-color in VMdEditor 2018-07-17 20:43:56 +08:00
Le Tan
4d953542f2 VTextDocumentLayout: draw block background for HRULE 2018-07-17 20:43:43 +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
40424b7931 docs: update markdown_guide 2018-07-14 13:16:20 +08:00
Le Tan
abee597812 PegHighlighter: support fast parse 2018-07-14 12:45:15 +08:00
Le Tan
0e724635b3 MdEditor: fix the font style issue
Font family may be constrained by QWidget style in qss file.
2018-07-14 07:00:45 +08:00
Le Tan
3e29a647ab MdTab: fix the synchronization between read and edit mode
Mute web view in edit mode.
2018-07-13 21:54:26 +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
d2e054994b peg-markdown-highlight: update to 7385865a6c1eff676f9e3624e0f88c2834bb6d8a 2018-07-13 20:31:34 +08:00
Le Tan
bb308a06d1 PegMarkdownHighlighter: multi-threads highlighter support 2018-07-12 20:19:23 +08:00
Le Tan
fbfc6c1dd6 highlighter: support Fenced Code Block 2018-07-12 20:19:07 +08:00
Le Tan
a20d306aab peg-markdown-highlight: update to c3fd99c8fe6a7041b3c01f607b602aba1aa36416
For fenced code block support.
2018-07-12 20:18:24 +08:00
Le Tan
a305b6872e highlighter: support Front Matter for YAML meta data 2018-07-09 20:19:49 +08:00
Le Tan
5b681dd64c peg-markdown-highlight: update to 03b1cae7646acc3586910679b0b4872d6f4b5884
Support FRONTMATTER.
2018-07-09 20:18:43 +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
7ef3d49c0c theme: refine visited link style and fonts 2018-07-05 21:05:10 +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
027c8abd17 Explorer: support Vim navigation 2018-07-04 19:56:19 +08:00
Le Tan
d67ef089b6 Explorer: support drag&drop a directory to VNote to open it in Explorer 2018-07-04 19:49:21 +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
4f4652dc3a fix build warning 2018-07-03 21:56:42 +08:00
Le Tan
b6ecc2eae1 release v1.19 v1.19 2018-07-03 20:56:28 +08:00
Le Tan
351df3740d refine Chinese translations 2018-07-03 20:50:50 +08:00
Le Tan
bc932fa913 CaptainMode: Y to focus to edit area 2018-07-03 20:27:35 +08:00
Le Tan
927bb54502 TagIndicator/TagExplorer: support Navigation mode 2018-07-03 19:38:36 +08:00
Le Tan
7305706294 export: escape ' by %27 in data URI 2018-07-03 19:35:17 +08:00
Le Tan
b88694bf3a TagExplorer: search tag case-sensitive and whole-word-only 2018-06-30 22:54:24 +08:00
Le Tan
b10078efa3 WebView: double-click to view diagrams
Mermaid is not supported since its use of external stylesheet.
2018-06-30 22:17:33 +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
4df0d03baa WebView: click an image to view/zoom it 2018-06-30 22:16:51 +08:00
Le Tan
15151742c9 HGMarkdownHighlighter: use font family of inline code for MathJax 2018-06-30 22:16:33 +08:00
Le Tan
2123e3abff ConfigManager: remove check logics of obsolete config file 2018-06-30 22:16:19 +08:00