319 Commits

Author SHA1 Message Date
Le Tan
6dce8e65a7
add Chinese translations (#1615)
* add Chinese translations

* remove widgets_zh_CN.ts and update qt_zh_CN.ts

* refine
2020-12-21 21:12:19 +08:00
Le Tan
847e3d621d
support find and replace (#1593)
TODO: we may need to transform the `QRegularExpression` usage to the `RegExp` in JS.
2020-12-13 12:34:43 +08:00
Le Tan
52702a32e9 hard days for VNoteX project
Never say "refactor" again!!!
2020-11-28 23:10:43 +08:00
Le Tan
44e33b540e say goodbye to VNote 2.0 2020-11-28 22:53:24 +08:00
Le Tan
6084ce23ed fix vsync 2020-09-05 10:03:32 +08:00
Le Tan
36e335bd72 VSync: add support for linux/mac 2020-09-04 20:25:55 +08:00
Le Tan
d3e1e560c4 fix vSync 2020-08-31 21:17:50 +08:00
刘涛
1fb6e777a3
增加同步上传与更新git功能 (#1482)
* 增加git同步功能

* windows下增加图标

* Git操作改为异步

* 优化同步功能

* 更新完成后重新加载当前笔记本

* 上传前关闭所有已打开笔记

* Revert "更新完成后重新加载当前笔记本"

This reverts commit 67bf9836b83203093dd71f8df99b903bcaa0adb1.

* optimize code

* revert  VDirectoryTree.h

* format code

Co-authored-by: musmus9405 <542719479@qq.com>
2020-08-29 11:53:04 +08:00
Le Tan
7d3732c58f fix MathJax v3 support
1. Support MathJax inside a fenced code block;
2. Support scale factor in preview;
2020-03-01 09:37:55 +08:00
Bibliobibulus
5df695c1ea
Support MathJaX v3 (#1221)
* Support MathJaX v3

* Update configuration of MathJaX

* Update config to export HTML

* Reset numbering

* Add scale option

* Fix typo
2020-03-01 09:24:43 +08:00
gydeng
615826323a
support vim e command in vmdtab and vvim (#1218) 2020-02-23 10:27:59 +08:00
Hiroshi Miura
35080bd175 Document folder structure to encourage translation in various languages (#1170)
* Restructuring docs resource folder

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* Correct variable name according to coding rule

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2020-01-15 22:34:50 +08:00
Le Tan
be229bed63 upgrade mermaid.js 2019-12-17 21:32:01 +08:00
Le Tan
a2841c399b fix PlantUML online preview 2019-12-10 20:41:49 +08:00
haipengno1
6ff3d37790 fix: render fails when using PlantUML online services (#1097) 2019-12-04 18:43:27 +08:00
Le Tan
8660668a94 refine image hosting 2019-11-27 21:27:17 +08:00
Le Tan
151481cfca add config [web]/enable_code_block_copy_button 2019-06-24 20:23:50 +08:00
Yunjie Chen
e78f375e81 markdown: add copy button to code blocks to copy source text 2019-06-08 12:25:10 +08:00
Le Tan
e8b2530ca3 refine translations 2019-01-13 10:54:26 +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
f9e9735d5f Preview: fix glitchy PlantUML preview when no background is specified 2018-11-25 11:20:31 +08:00
Le Tan
28eb48cc2e PegParser: support ~~~ as fenced code block 2018-11-22 20:31:47 +08:00
Le Tan
7955246a51 web: add anchor to the title 2018-11-20 20:13:49 +08:00
Le Tan
b6b73c3f82 editor: guess the image title from image path when inserting an image 2018-11-12 20:12:07 +08:00
Le Tan
2637fd90ec markdown-it: support alert text via markdown-it-container plugin
::: alert-info
This is an info text.
:::
2018-11-09 20:37:44 +08:00
Le Tan
4ae4960358 markdown-it: MathJax support $.$ in \text{} within $$...$$ 2018-10-31 22:11:40 +08:00
Le Tan
bdf4e10c6e markdown-it: support \begin...\end for MathJax 2018-10-30 20:47:57 +08:00
Le Tan
aeb2263be3 Editor: support auto scrolling cursor line into center 2018-10-30 20:47:41 +08:00
Le Tan
f3ff862cfb MathJax: support euqation number
http://docs.mathjax.org/en/latest/tex.html#automatic-equation-numbering
2018-10-30 20:47:28 +08:00
Le Tan
3aaea23545 fix combo box style on macOS 2018-10-25 21:03:41 +08:00
Le Tan
2a7a4f864e WebView: do not set background color to transparent
Setting background color of a web engine page to transparent will force
it to render using grayscale antialiasing.
2018-10-25 21:03:41 +08:00
Le Tan
29c1c346a4 MdTab: handle non-exist file 2018-10-22 13:20:13 +08:00
Geoffrey Cheung
8d42ffea0f Update src/utils/vmetawordmanager.cpp (#462)
* Update src/utils/vmetawordmanager.cpp

add week number(%w%)

* Update src/utils/vmetawordmanager.cpp

Co-Authored-By: geoffreycheungr <geoffreycheung@126.com>

* Update src/utils/vmetawordmanager.cpp

Co-Authored-By: geoffreycheungr <geoffreycheung@126.com>

* Update src/utils/vmetawordmanager.cpp

Co-Authored-By: geoffreycheungr <geoffreycheung@126.com>
2018-10-22 08:22:52 +08:00
Le Tan
f7ba98f3bb update Marked to 0.5.1 2018-10-17 20:43:08 +08:00
Le Tan
4cced65863 export: add icon, title and footer to exported HTML 2018-10-17 20:02:10 +08:00
Le Tan
c0af5aeb71 Turndown: delete redundant spaces after list item 2018-10-17 20:02:01 +08:00
Le Tan
203544632e MdEditor: turn equation from zhihu.com to MathJax when fetching images 2018-10-17 20:01:51 +08:00
Le Tan
0eab02de9b Turndown: remove \n in table cell
When pasting table from OneNote, there may be redundant \n that will
break the table.
2018-10-17 20:01:28 +08:00
Le Tan
8184f3a1af Mathjax: support equation number in read mode 2018-10-17 19:57:14 +08:00
Le Tan
29079ade72 vim: handle keys when CapsLock is on 2018-10-15 19:39:17 +08:00
Le Tan
ec15475c87 Turndown: remove title and alt text if they contains invalid characters
It is useful especially for OneNoe.
2018-10-15 19:39:01 +08:00
Le Tan
1b95b636e7 image related fixes
- Support previewing cross-line image link;
- Do not consider image title when generating image name and use current
time at the front to make it easy to sort.
2018-10-14 11:59:25 +08:00
Le Tan
6d1830ad86 fix local image path with query parameters 2018-10-12 20:19:31 +08:00
Le Tan
b27da44c7a MdEditor: fix suffix of url with query parameters 2018-10-12 20:19:31 +08:00
Le Tan
e27907e5b4 Turndown: cover table from Microsoft Excel 2018-10-08 20:40:59 +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
f7589983b5 Editor: fix completion 2018-09-26 19:24:25 +08:00
Le Tan
02fc5f20f3 UniversalEntry/Searcher: Ctrl+B to expand/collapse all items 2018-09-26 19:23:56 +08:00