1306 Commits

Author SHA1 Message Date
Le Tan
584472f902 fix tab order and TOC level in edit mode
1. Fix tab order of left and right corner widgets;
2. Insert [EMPTY] header when header level is not continuous in edit mode.
2017-04-04 13:21:51 +08:00
Le Tan
b0d3e42647 refine edit mode
1. Support "Ctrl+Alt+<N>" to insert title in Markdown;
2. Support Auto Indent;
3. Support Auto List;
2017-04-04 13:21:51 +08:00
Le Tan
acec514418 some minor refinement
1. Change the corner widget color;
2. Change the markdown.css's style to not let it wrap a line.
2017-04-04 13:21:51 +08:00
Le Tan
74419ba75d Set theme jekyll-theme-cayman 2017-04-03 23:10:42 +08:00
Le Tan
4923bb54b6 refine button icons 2017-03-31 23:04:32 +08:00
Le Tan
9a26fb68b5 change Travis build config 2017-03-31 21:48:03 +08:00
Le Tan
db17c61423 eliminate build warning on Windows 2017-03-31 21:05:09 +08:00
Le Tan
c48fbe16da refine editor style
1. Support editor-current-line and editor-selection style in MDHL;
2. Support vim-background in editor-current-line;
2017-03-31 20:44:30 +08:00
Le Tan
ee4bfb171a try to adjust VNotebookSelector's popup's width to the content 2017-03-31 20:43:38 +08:00
Le Tan
ce1cefa793 allow user to zoom in/out Web page
1. Mouse wheel with Ctrl pressing will zoom in/out the Markdown Web
page;
2. Ctrl+-, Ctrl++ will zoom in/out the Markdown Web page;
3. Ctrl+0 recover the Web page zoom factor to 1.
2017-03-31 09:51:34 +08:00
Le Tan
1f845d5ba8 add config setting for Web zoom factor 2017-03-30 20:00:27 +08:00
Le Tan
6949de8723 bugfix: clean up after Mermaid render failure 2017-03-29 21:39:37 +08:00
Le Tan
97dd8c43cc add config web_zoom_factor in vnote.ini
When it is set to -1, VNote will calculate the zoom factor according to
DPI.
This fix is for the hidpi issue on Windows. It is not widely tested on macOS.
2017-03-28 23:15:58 +08:00
Le Tan
485723d7a9 change the color of corner widget of current window 2017-03-28 21:13:28 +08:00
Le Tan
f6d14c9aa4 bugfix: setTabOrder() after setting the layout 2017-03-28 21:00:00 +08:00
Le Tan
46a59d7e33 refine font settings for editor 2017-03-28 19:59:26 +08:00
Le Tan
ad84acaf59 try to fix scalability issue in hidpi Windows 2017-03-27 22:47:58 +08:00
Le Tan
7f12efe1ea bugfix: refine tab order in VFindReplaceDialog 2017-03-27 22:22:03 +08:00
Le Tan
9b21ce444d change default font family for both Markdown editing and reading 2017-03-27 22:09:57 +08:00
Le Tan
4c0f376190 bugfix: update tooltip after renaming directory 2017-03-27 21:45:13 +08:00
Le Tan
b690db3502 bugfix: Mermaid parser error will not throw exception 2017-03-27 19:49:00 +08:00
Le Tan
3406eab29c Captain mode 2017-03-27 19:44:23 +08:00
Le Tan
2a1cba1fed error handling for Mermaid and Mathjax 2017-03-24 20:31:05 +08:00
Le Tan
1894606c10 bugfix: add custom Exit action in menubar for macOS
Qt will create a default exit action for macOS which will crash the app.
2017-03-24 20:29:05 +08:00
Le Tan
f52749f972 refine README.md 2017-03-23 22:23:44 +08:00
Le Tan
24913549ef Override files in BinTray 2017-03-23 22:13:31 +08:00
Le Tan
a9b34955ee support MathJax
Work well with Hoedown and Markdown-it.
2017-03-23 20:57:31 +08:00
Le Tan
b9f8144f29 bugfix for "locate to directory" 2017-03-23 14:14:44 +08:00
Le Tan
7c7db3fbb8 release v1.1 v1.1 2017-03-22 21:58:08 +08:00
Le Tan
bed6a0d234 support mermaid diagram 2017-03-22 14:18:00 +08:00
Le Tan
bacd112782 support task lists in markdown-it 2017-03-21 20:20:38 +08:00
Le Tan
7a51ee5b3d add Markdown renderer markdown-it 2017-03-21 15:43:54 +08:00
Le Tan
d47dd92f59 refine markdown render logics
Add common templates markdown_template.html and
markdown_template.js.

Hoedow provides hoedown.js.
Marked provides marked.js.
2017-03-20 20:45:17 +08:00
Le Tan
ee6fc69bb1 pop up a menu when inserting image or URL 2017-03-20 20:40:52 +08:00
Le Tan
f478ef70c6 fix windows CI 2017-03-19 15:06:44 +08:00
Le Tan
1b52cd3362 support not deleting files from disk when deleting notebook 2017-03-19 11:42:43 +08:00
Le Tan
29b27b1ecd add .md suffix when creating new note 2017-03-18 20:25:40 +08:00
Le Tan
6c95b2df8b create notebook instead of pop up a list
When there is no notebook and user clicks the VNotebookSelector
combobox, just create a notebook instead of pop up a list.
2017-03-18 19:48:09 +08:00
Le Tan
fdb8c3bb3a toggle m_importNoteAct according to current directory state 2017-03-18 18:12:36 +08:00
Le Tan
85a5ea6054 open two panels view after locating file 2017-03-18 17:51:00 +08:00
Le Tan
a43383acec refine vnote.ini
Enable tools_dock_checked by default.
2017-03-18 17:31:47 +08:00
Le Tan
0973159844 add TOC to README.md 2017-03-18 15:05:20 +08:00
Le Tan
6345c2a902 refine windows release name 2017-03-18 14:55:25 +08:00
Le Tan
3b6c415b83 add build steps on macOS in README.md 2017-03-18 14:44:20 +08:00
Le Tan
77f4c2d91c refine README.md 2017-03-18 14:22:53 +08:00
Le Tan
b0f7add1bb add editor_font_size in vnote.ini
Change default editor font size to 12.
2017-03-17 21:54:16 -07:00
Le Tan
aee1b9d571 bugfix: use QTabBar.mapToGlobal() in tabbarContextMenuRequested 2017-03-17 21:14:54 -07:00
Le Tan
94ad4adc1c fix tabbar of the edit area in macOS
1. revert a3b83b7f81192bdbeabb1ba8a7eed57beb4 to avoid flashing;
2. Explicitly specify usesScrollButtons in VEditWindow;
2017-03-17 21:07:29 -07:00
Le Tan
045d6f0241 set the padding of QListWidgetItem to 10px in VNotebookSelector 2017-03-17 20:50:28 -07:00
Le Tan
844b644972 eliminate the compiler warning on Linux 2017-03-17 21:04:51 +08:00