511 Commits

Author SHA1 Message Date
Le Tan
dba0f27aae refine default styles about word-break 2019-11-19 21:29:08 +08:00
冯文华
fbdc5a5406 editor: add supports for Tencent and gitee image hosting (#1059)
* 将图床单独提取出来成为一个类

* Split the image hosting code into two classes

* change null to parent

* delect empty line,add p_,rename file and so on

* 增加腾讯图床

* add keep image scale and do not replace link

* adjust image hosting name space

* Increase edit box length

* fix some bug and add gitee image hosting

* Specification code
2019-11-16 14:01:32 +08:00
冯文华
a85c39aa26 Image hosting code refactoring (#1032)
* 将图床单独提取出来成为一个类

* Split the image hosting code into two classes

* change null to parent

* delect empty line,add p_,rename file and so on
2019-11-08 22:17:53 +08:00
冯文华
c828ef00c4 editor: add supports for GitHub and WeChat image hosting (#1007)
* 增加了github imagebed的配置窗口

* 已经完成批量上传

* 基本上可以使用

* 基本上可以使用

* 加入进度条

* 就差开始的认证过程

* 差不多就这样了

* 修改中文的readme

* 修改了一下readme

* 找到不能传gif的问题所在

* 修改gif不能上传的bug

* 增加图床使用说明限制

* 增加一些注释

* 将进度条delete调

* 增加大文件上传错误提示

* 修复cancel的问题

* 已知问题: 上传多张图片时, 较大的图片的进度条不一定能出来

* 将进度条弹出来的时候修改成1s后

* 加入wechat设置, 改成QTabWidget

* wechat设置成功

* 成功获取了token

* 先保存一下, 文件上传有bug,替换好像也有bug

* 解决了boundary的引号导致图片不能上传的问题

* 注释掉一些输出

* 加入ip不在白名单的提示

* 增加图片大小大于1M的提示

* 将ip地址设置进剪切板, 并显示在弹框上

* 添加markdown转微信的url设置

* 增加自动打开openwrite的链接, 修复文件大小应为1024*1024

* 改成clear

* 将类型校验放到开始的地方

* 加入openwrite默认为空的判断

* Delete github-imagebed.md

* Apply suggestions from code review

Co-Authored-By: Le Tan <tamlokveer@gmail.com>

* Apply suggestions from code review

Co-Authored-By: Le Tan <tamlokveer@gmail.com>

* Apply suggestions from code review

Co-Authored-By: Le Tan <tamlokveer@gmail.com>

* 根据要求修改了一下

* changed indentation and deleted empty line

* add some tr()

* Delete .DS_Store

* delete some comment and use CamelCase

* resolved sth
2019-11-04 09:59:55 +08:00
Henry Zhu
1ab16db175 added theme v_next (#978) 2019-09-23 19:16:08 +08:00
洛水·锦依卫
13b1dd786e v_simple: change font size of titles in edit mode (#871) 2019-06-24 21:45:36 +08:00
Le Tan
151481cfca add config [web]/enable_code_block_copy_button 2019-06-24 20:23:50 +08:00
LuoshuiTianyi
f1b5c5428d add theme v_simple 2019-06-21 08:03:07 +08:00
Hiroshi Miura
c9de59cf27 Update Japanese doc translation (#851)
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2019-06-16 10:41:19 +08:00
Le Tan
3b1d9e9cbf remove redundant ending new line when copying code block in read mode 2019-06-15 10:13:58 +08:00
Le Tan
ada7400306 marked: fix code block line number 2019-06-14 19:42:27 +08:00
Le Tan
09df438f2e Editor: bug fix for smart table caused by QString.arg() 2019-06-10 20:45:33 +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
13d0c60e59 add config table_format_interval for smart table 2019-06-04 20:38:10 +08:00
Le Tan
1cd809ed8f remove credict info in export template 2019-04-29 18:38:09 +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
db68df4352 add how to enable Vim mode in welcome page 2019-04-03 21:52:51 +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
585bfacf5d use github.io for user track 2019-01-26 10:33:53 +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
e8b2530ca3 refine translations 2019-01-13 10:54:26 +08:00
Hiroshi Miura
09befccd1e Add Japanese translations (#569)
* Add Japanese trnaslations

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

* Update READMEs

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

* add  README_ja

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2019-01-13 09:49:06 +08:00
Le Tan
6777829a1d editor: fix selection-color by style sheet 2019-01-03 20:02:55 +08:00
Le Tan
37c415f732 Editor: fix smart table cell crossing lines 2018-12-19 20:04:47 +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
7928874936 fix tab stop width temporarily 2018-11-29 21:26:42 +08:00
Le Tan
70374607bb Add insert table toolbar button 2018-11-28 19:31:43 +08:00
Le Tan
70caa4d932 editor: auto format table 2018-11-28 19:31:26 +08:00
Le Tan
bcb6adef30 refine welcome 2018-11-25 12:21:32 +08:00
Le Tan
313a8647a8 PegParser: support TABLE style 2018-11-23 19:46:33 +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
0ef38171e9 web: minor fix 2018-11-10 20:01:24 +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
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
6455e9ca19 style: fix image caption style to avoid mess up after export
Use span instead of div to wrap the image caption.
2018-11-01 21:22:23 +08:00
Le Tan
61925a9c30 style: force to left-aligned tab bar 2018-11-01 21:22:03 +08:00
Le Tan
439f0013c9 style: use another font as Verdana do not work well with pinyin 2018-10-31 22:12:01 +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