Le Tan
2f1971476d
VMdEditor: support copy selected text as HTML
2018-01-04 13:27:42 +08:00
Le Tan
f6cf98c827
do not highlight code blocks without lang specified by default
2017-12-21 21:02:56 +08:00
Le Tan
06fc4d5831
support custom code block style of highlightjs
...
Add two config:
- template_code_block_css
- template_code_block_css_url
2017-09-30 19:01:21 +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
f911c60c79
support flowchart.js
...
VNote supports flowchart.js in all for renderers.
2017-07-01 10:19:47 +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
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
df40ac2db0
bugfix: fix Marked highlihgt option
2017-05-11 19:54:36 +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
6949de8723
bugfix: clean up after Mermaid render failure
2017-03-29 21:39:37 +08:00
Le Tan
b690db3502
bugfix: Mermaid parser error will not throw exception
2017-03-27 19:49:00 +08:00
Le Tan
2a1cba1fed
error handling for Mermaid and Mathjax
2017-03-24 20:31:05 +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
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