Le Tan
d955dedcb7
add config mathjax_javascript for Mathjax location and configuration
2017-09-24 10:18:55 +08:00
Le Tan
a64d01ea86
refactor VFile and VOrphanFile
...
1. Make VFile a real abstract class;
2. Use VNoteFile for internal note file;
3. Use VOrphanFile for external orphan file;
2017-09-21 19:33:37 +08:00
Le Tan
7fd2273aad
support line number in code block in both read and edit mode
2017-09-12 20:28:40 +08:00
Le Tan
59d0e82e66
refactor retrivePath to fetchPath
2017-09-07 20:33:38 +08:00
Le Tan
73630448a6
move vconfig to a local variable
2017-08-29 09:40:28 +08:00
Le Tan
2e7590de24
add Markdown guide
2017-08-11 20:02:54 +08:00
Le Tan
c2fe857e3a
open an external file as internal note if it is a note within VNote
2017-08-07 20:04:18 +08:00
Le Tan
0b9d259de6
support opening external files from context menu in system browser
2017-07-18 14:36:15 +08:00
Le Tan
e33ff1fede
add Info action to tab context menu
2017-07-17 10:10:18 +08:00
Le Tan
8a56dc8b87
support editing external files
2017-07-15 12:46:04 +08:00
Le Tan
f911c60c79
support flowchart.js
...
VNote supports flowchart.js in all for renderers.
2017-07-01 10:19:47 +08:00
Le Tan
c6986eeaf6
bug-fix: always constrain the image width when exporting PDF
...
Otherwise, the exported PDF will have just part of the large image.
2017-06-23 19:52:36 +08:00
Le Tan
224a7253ce
support subscript, superscript and footnote in markdown-it
...
Subscript: H~2~O
Superscript: 2^2^=4
Footnote: This is a footnote[^1].\n[^1]: Here is the footnote.
2017-06-04 12:42:57 +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
f43f9c4afc
add Showdown renderer
2017-05-18 21:40:02 +08:00
Le Tan
a154e568de
constrain the width of images in read mode
2017-05-10 19:36:07 +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
32a7adb8d4
support viewing external orphan file
...
1. Add VOrphanFile for external local file;
2. Add doc file for shortcuts;
3. Ctrl+E ? to open the shortcuts doc;
2017-04-08 21:28:25 +08:00
Le Tan
ab824946e8
register VEditArea and VOutline for Navigation Mode
...
1. Register VEditArea and VOutline for Navigation mode;
2. Support Ctrl+J and Ctrl+K navigation in VOutline;
2017-04-06 19:39:52 +08:00
Le Tan
611a695cb1
register VFileList for Navigation Mode
...
Support Ctrl+J and Ctrl+K navigation in VFileList.
2017-04-05 23:36:16 +08:00
Le Tan
6e0f1d38b4
register VDirectoryTree for Navigation Mode
2017-04-04 22:40:44 +08:00
Le Tan
6a5fecf8ef
Add Navigation Mode to Captain Mode
...
In Captain Mode, W will trigger the Navigation Mode. In this mode,
registered widgets will display some characters for hints and after user
pressing the the keys, corresponding widget will take action as response.
For now, only VNotebookSelector registers in the Navigation Mode.
2017-04-04 18:02:47 +08:00
Le Tan
f7f4bb1569
refine tab list menu by adding VOpenedListMenu
...
1. Group opened files by notebook and directory;
2. Type the sequence number to activate a certain item in the popup menu;
3. Ctrl+[, Ctrl+J, Ctrl+K
2017-04-04 13:26:21 +08:00
Le Tan
3406eab29c
Captain mode
2017-03-27 19:44:23 +08:00
Le Tan
a9b34955ee
support MathJax
...
Work well with Hoedown and Markdown-it.
2017-03-23 20:57:31 +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
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
58c8506855
use different color of the corner icon in current window
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-12-24 15:52:05 +08:00
Le Tan
1aa264adc8
support locating current note
...
Support locating the notebook and directory of current note.
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-12-24 13:09:19 +08:00
Le Tan
f36ed97694
change stylesheet
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-12-10 16:41:13 +08:00
Le Tan
edca922f5e
support avatar
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-12-10 11:21:08 +08:00
Le Tan
9413ef875b
modify stylesheet
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-12-08 22:42:34 +08:00
Le Tan
9a197b5087
refactor: add VNotebookSelector for notebook management
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-12-04 22:26:48 +08:00
Le Tan
02d5300821
support copy and paste directory
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-12-03 11:42:11 +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
0298b8bfe1
change the look of the notebook combobox
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-11-20 16:15:27 +08:00
Le Tan
ab91f755c0
add dock widget to display outline
...
1. Support displaying outline of Markdown in read mode;
2. Support navigating by outline using Marked;
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-11-07 21:53:33 +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
5409ce9769
refactor directory and file related logics
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-10-25 22:25:34 +08:00
Le Tan
be625f561c
implement notebookInfoBtn logics
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-10-23 18:07:05 +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