Le Tan
22489137ae
MathJaxPreview: fix preview while using local mathjax
2018-09-01 11:06:33 +08:00
Le Tan
126600dbb1
LivePreview: refine smart live preview
...
- Support class diagram.
- Support activity diagram.
2018-08-28 20:43:51 +08:00
Le Tan
cda48a612a
LivePreview: smart live preview
2018-08-26 14:12:02 +08:00
Le Tan
dc1f1c4535
MdEditor: support pasting HTML as converted Markdown text via Turndown
2018-08-17 22:42:21 +08:00
Le Tan
3e29a647ab
MdTab: fix the synchronization between read and edit mode
...
Mute web view in edit mode.
2018-07-13 21:54:26 +08:00
Le Tan
bb308a06d1
PegMarkdownHighlighter: multi-threads highlighter support
2018-07-12 20:19:23 +08:00
Le Tan
a5e64696ea
web: fix finishLogics() bug
...
Treat MathJax as an async job.
2018-06-16 09:00:14 +08:00
Le Tan
7f8075f0ca
bug-fix: fix Command+-/= to zoom out/in in read mode on macOS
2018-06-01 17:46:42 +08:00
Le Tan
bab0140c9f
use QWebEnginePage::linkHovered instead
2018-05-04 20:37:40 +08:00
Le Tan
960426579b
show hovered link in status line in read mode
2018-04-27 20:35:58 +08:00
Le Tan
aa5960f974
preview non-codeblock MathJax
2018-04-18 20:55:14 +08:00
Le Tan
10e2bba7f6
support Mermaid and Flowchart.js preview
...
Mermaid preview is disabled for some issues.
2018-04-12 19:31:13 +08:00
Le Tan
cfcc7e5494
support in place preview and live preview of code blocks
2018-04-10 20:58:07 +08:00
Le Tan
c6b7561864
VMdTab: live preview
2018-04-10 20:58:07 +08:00
Le Tan
2206102945
support Graphviz
2018-04-10 20:58:07 +08:00
Le Tan
9850d9a2a2
support PlantUML
2018-04-04 20:30:36 +08:00
Le Tan
9710659a00
support word count
2018-03-06 19:33:40 +08:00
Le Tan
b7e6301136
export: add option EmbedCssStyle for HTML
2018-02-25 14:37:13 +08:00
Le Tan
1fe7567d79
export: support HTML format
2018-02-25 10:01:18 +08:00
Le Tan
2f1971476d
VMdEditor: support copy selected text as HTML
2018-01-04 13:27:42 +08:00
Le Tan
72946d0e15
Markdown Highlighter: more speed
2017-11-30 21:25:28 +08:00
Le Tan
97051badf0
refactor TOC logics
2017-06-01 13:21:17 +08:00
Le Tan
5b4984f59a
bugfix: wait for images loaded before exporting PDF
2017-05-23 19:22:49 +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
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
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
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
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
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