1770 Commits

Author SHA1 Message Date
Le Tan
c2c70368da restore last active item in directory tree after switching notebook 2017-05-22 22:47:43 +08:00
Le Tan
de4e5fef8e let Shift+Enter to insert two spaces and a new line 2017-05-22 22:46:24 +08:00
Le Tan
58bc995924 always override the default style 2017-05-22 22:39:51 +08:00
Le Tan
78d57415c4 add image caption for those images which are adjacent with <br> 2017-05-22 22:38:30 +08:00
Le Tan
0131569c02 support exporting note as PDF file
TODO: Currently the exported PDF does not have the outline which is
needed to fix via third-party utils.
2017-05-22 22:34:53 +08:00
Le Tan
871c53743f add print action item
Print support of QWebEngineView is incomplete in Qt5.7. Need to figure
out another way to print documents.

Just hide the action Item.
2017-05-20 13:49:24 +08:00
Le Tan
f43f9c4afc add Showdown renderer 2017-05-18 21:40:02 +08:00
Le Tan
5bb692bcc5 support centering the images and insert the alt text as caption
Add config enable_image_caption.
2017-05-17 21:03:42 +08:00
Le Tan
0cc1841827 add default highlightjs style vnote.css 2017-05-17 21:01:40 +08:00
Le Tan
1b59afbdf2 bugfix: add margin to the <hr> in default.css 2017-05-16 18:11:34 +08:00
Le Tan
df40ac2db0 bugfix: fix Marked highlihgt option 2017-05-11 19:54:36 +08:00
Le Tan
a154e568de constrain the width of images in read mode 2017-05-10 19:36:07 +08:00
Le Tan
e5021f4501 refactor local image folder
Treat those images which have relative path and locate in directories
that have the same parent directory as the file as internal images.
VNote will only manage the internal images.
2017-05-10 15:53:33 +08:00
Le Tan
7a4d86eca9 bugfix: VImagePreviewer to preview images with optional title
Do not preview images in code block.
2017-05-09 19:35:51 +08:00
Le Tan
bf55ba01ce bugfix: match Chinese fonts in mdhl 2017-05-08 19:50:39 +08:00
Le Tan
510fef8cc2 copy OpenSSL dlls for Windows build 2017-05-07 20:16:26 +08:00
Le Tan
db9903b906 support log file in release mode 2017-05-07 10:58:01 +08:00
Le Tan
d1395b9ac2 release v1.4 v1.4 2017-05-06 21:26:12 +08:00
Le Tan
2bdf388c7b constrain the width of previewed images to the eidt window's width 2017-05-06 19:13:58 +08:00
Le Tan
00db4c583f refine Chinese translations 2017-05-06 13:16:19 +08:00
Le Tan
8649f4f66f add menu item to enable the image preview
Not visible because we now could not handle the undo history very well.
2017-05-06 12:27:09 +08:00
Le Tan
a8614839d9 refactor image preview logics by adding VImagePreviewer
1. Support previewing non-relative local images;
2. Support previewing network images;
2017-05-06 12:25:18 +08:00
Le Tan
27b0d99965 delete notebook by deleting root directories 2017-05-04 11:40:53 +08:00
Le Tan
d330bdae0f let image title edit get focus in VInsertImageDialog 2017-05-03 22:03:49 +08:00
Le Tan
d0e43db5ad more user friendly messages 2017-05-03 21:39:18 +08:00
Le Tan
8899a374a8 change auto list seq to 1 after indented or unindented 2017-04-26 18:53:08 +08:00
Le Tan
2a29456f45 use _vnote.json instead of .vnote.json as the directory config file 2017-04-25 22:55:59 +08:00
Le Tan
882faeb5eb bugfix
1. Do not add additional actions if QTextEdit has selection;
2. Add Q_DECL_OVERRIDE to supress the warnings.
3. Fix getTemplateCssUrl().
2017-04-24 22:34:02 +08:00
Le Tan
30ee1e92d8 release v1.3 v1.3 2017-04-23 10:59:31 +08:00
Le Tan
2425d90b37 refine custom style logics
Scan and build the menu automatically.
2017-04-23 10:06:04 +08:00
Le Tan
c25c4298f7 bugfix 2017-04-22 19:34:36 +08:00
Le Tan
26d4fd8463 refine README.md 2017-04-22 19:11:10 +08:00
Le Tan
755d1beb02 update Chinese translations 2017-04-22 18:06:16 +08:00
Le Tan
d9185d3352 support custom editor style by mdhl files 2017-04-22 17:45:43 +08:00
Le Tan
d0d4e1443d support custom CSS styles
VNote will find CSS files in the "styles" folder under the config folder.
2017-04-22 15:39:12 +08:00
Le Tan
c642d60757 add SaveAndRead and DiscardAndRead to the context menu in edit mode 2017-04-22 11:43:26 +08:00
Le Tan
022d3ae2f7 add Edit to context menu in read mode to edit current note 2017-04-20 22:46:49 +08:00
Le Tan
bcdfc90951 use Ctrl+<Num> instead of Ctrl+Alt+<Num> to insert title 2017-04-20 21:34:04 +08:00
Le Tan
bd7f0e6cdd bugfix: abandon obsolete parsed highlight result when text has been changed 2017-04-19 22:32:58 +08:00
Le Tan
fc6aefc66f do not indent empty lines when pressing tab 2017-04-19 22:04:47 +08:00
Le Tan
b7737aff61 change the blockquote style
Change the file format to unix style.
2017-04-19 21:52:08 +08:00
Le Tan
5757489723 refine title of QDockWidget 2017-04-19 21:41:52 +08:00
Le Tan
a0cd784c45 set icon-size of VNotebookSelector::QListWidget 2017-04-19 20:17:14 +08:00
Le Tan
05f7bcfcf0 bugfix: determine the base url by the file type 2017-04-19 20:05:28 +08:00
Le Tan
44257913f7 support code block syntax highlihgt in edit mode
In edit mode, highlight code blocks via parsing the result of HighlightJS.
We only highlight fenced code blocks by token-matching.

Support custom style in MDHL file.
2017-04-19 15:08:26 +08:00
Le Tan
f1c101b1d8 refine auto indent and auto list
1. Enter will cancel the auto indent and auto list;
2. Tab/Shift+Tab will increase or descrease the indentation of auto list;
2017-04-10 23:06:17 +08:00
Le Tan
177e5495d8 debian packaging 2017-04-10 22:58:56 +08:00
Le Tan
9f91d35d34 bugfix: fix Mermaid error 2017-04-09 16:19:57 +08:00
Le Tan
14c7778dc7 update shortcuts doc 2017-04-09 12:34:36 +08:00
Le Tan
5486929a8d change statusTip to toolTip 2017-04-09 12:20:58 +08:00