Le Tan
a154e568de
constrain the width of images in read mode
2017-05-10 19:36:07 +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
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
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
d0e43db5ad
more user friendly messages
2017-05-03 21:39:18 +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
2017-04-23 10:59:31 +08:00
Le Tan
c25c4298f7
bugfix
2017-04-22 19:34:36 +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
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
5486929a8d
change statusTip to toolTip
2017-04-09 12:20:58 +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
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
1f845d5ba8
add config setting for Web zoom factor
2017-03-30 20:00:27 +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
a9b34955ee
support MathJax
...
Work well with Hoedown and Markdown-it.
2017-03-23 20:57:31 +08:00
Le Tan
7c7db3fbb8
release 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
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
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
238983ed0d
refine all messages
2017-02-27 22:30:35 +08:00
Le Tan
c83fcf6ce9
add settings dialog and language setting
...
Add VSettingsDialog to show a settings dialog.
For now, VNote supports setting of language.
Add imcomplete Chinese support.
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2017-02-26 17:13:52 +08:00
Le Tan
901c477705
utilize ExtraSelection for special highlighting
...
1. Highlight current line;
2. Highlight selected word;
3. Highlight searched word;
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2017-01-12 21:00:06 +08:00
Le Tan
3005d9bf5c
implement Find/Replace logics
...
Supports Find/Replace in both edit and preview modes.
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2017-01-08 21:09:00 +08:00
Le Tan
768c1632b0
save and restore the sate of the main splitter
...
Add a config "main_splitter_state" to store the state of the main
splitter.
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2017-01-02 10:00:59 +08:00
Le Tan
3b442f55a9
highlight curren cursor line
...
Add configuration "highlight_cursor_line" in vnote.ini.
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-12-25 20:31:59 +08:00
Le Tan
b0ec4c312a
support import existing notebook
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-12-10 15:41:46 +08:00
Le Tan
8e8d69c85f
refactor: VNote and VNotebook
...
regression: notebook renaming logics does not work for now
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-11-26 12:45:29 +08:00
Le Tan
3ae3462597
save/restore window state and geometry
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-11-20 11:12:15 +08:00
Le Tan
53bce98db6
support changing rendering background color
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-10-28 21:06:26 +08:00
Le Tan
0c3fc3b006
support changing background color of editor
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-10-27 22:41:41 +08:00
Le Tan
8960358feb
expand tab to spaces
...
Add configuration "tab_stop_width" and "is_expand_tab". Expand tab to
tab_stop_width spaces if is_expand_tab is true.
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-10-27 10:23:38 +08:00
Le Tan
2bd3194af6
clear the [notebooks] section first before storing new one
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-10-26 21:50:38 +08:00
Le Tan
a983026552
add Hoedown for markdown convertion
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-10-23 10:35:31 +08:00
Le Tan
5fa07864a1
move source stuff into src subdir
...
Make it convenient to add third-party libraries.
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-10-22 14:11:33 +08:00