Le Tan
fb1a172acf
propagate key press event from QWebEngineView to VDocument
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2017-01-21 09:42:48 +08:00
Le Tan
becd4a320f
support Vim key bindings in preview mode
...
1. h, j, k, l to navigate;
2. gg, G to go to the start and end of the document;
3. Ctrl+D, Ctrl+U to go down and up half page;
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-12-29 20:52:18 +08:00
Le Tan
8a214831e3
fix outline navigation bug using Hoedown
...
Use a fixed base html and update the body using VDocument.html like
Marked does.
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-11-09 21:43:11 +08:00
Le Tan
849fdf05bd
support synchronization between preview page and outline
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-11-08 23:21:22 +08:00
Le Tan
fe3d16ba3b
change Marked's renderer to be identical with Hoedown
...
Change the style of the header to align with what Hoedown does (use id
as anchor).
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-11-08 22:08:18 +08:00
Le Tan
d1a3a9c386
support navigating by outline using Hoedown
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-11-07 22:40:43 +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
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