Yunjie Chen
e78f375e81
markdown: add copy button to code blocks to copy source text
2019-06-08 12:25:10 +08:00
Le Tan
12d5bb27ef
markdown: support WaveDrom diagram in language wavedrom
code block
...
In place preview is not supported.
2018-11-30 21:01:31 +08:00
Le Tan
7955246a51
web: add anchor to the title
2018-11-20 20:13:49 +08:00
Le Tan
2637fd90ec
markdown-it: support alert text via markdown-it-container plugin
...
::: alert-info
This is an info text.
:::
2018-11-09 20:37:44 +08:00
Le Tan
bdf4e10c6e
markdown-it: support \begin...\end for MathJax
2018-10-30 20:47:57 +08:00
Le Tan
f3ff862cfb
MathJax: support euqation number
...
http://docs.mathjax.org/en/latest/tex.html#automatic-equation-numbering
2018-10-30 20:47:28 +08:00
Le Tan
f85f2cc3a3
web: skip scroll check
2018-10-12 20:20:43 +08:00
Le Tan
f5bbc1ccd7
PegHighlighter: support math
2018-07-13 20:32:22 +08:00
Le Tan
35be1516ed
markdown-it: use markdown-it-texmath to get rid of escape of MathJax
2018-07-05 20:41:16 +08:00
Le Tan
4df0d03baa
WebView: click an image to view/zoom it
2018-06-30 22:16:51 +08:00
Le Tan
155199ed49
markdown-it: add margin for number emoji
2018-06-30 22:16:07 +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
6752a91ef4
markdown-it: display metadata as code block
2018-05-11 14:39:51 +08:00
Le Tan
3eb3db874e
markdown-it: support emoji
2018-05-11 14:39:51 +08:00
Le Tan
6558fa85b7
markdown-it: support specifying image size via markdown-it-imsize plugin
...
Only supported in read mode.
2018-05-05 12:34:17 +08:00
Le Tan
2dbb114b47
fix image issue
...
1. Do not judge the image format from the file suffix;
2. Enable file: scheme in Markdown-it;
2018-04-27 20:35:17 +08:00
Le Tan
4afefbe964
markdown-it: aware of YAML format metadata in notes
2018-04-24 07:53:09 +08:00
Le Tan
aa5960f974
preview non-codeblock MathJax
2018-04-18 20:55:14 +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
11e111ed7b
markdown-it: turn off typographer
2018-04-10 20:58:07 +08:00
Le Tan
9850d9a2a2
support PlantUML
2018-04-04 20:30:36 +08:00
Le Tan
ff4a2d0b91
markdown-it: add options for subscript and superscript
2018-03-19 20:05:26 +08:00
Le Tan
de7ea32104
flowchart: support both flow and flowchart as the language
2018-03-16 21:38:45 +08:00
Le Tan
9cc193178b
export: add TOC function to built-in PDF export
2018-03-04 20:19:27 +08:00
Le Tan
1fe7567d79
export: support HTML format
2018-02-25 10:01:18 +08:00
Le Tan
faff0cd8f6
bug-fix: fix code block highlight issues
...
add ignore_illegals parameter to hljs.highlight().
2018-02-22 19:43:49 +08:00
Le Tan
b9e8bc0eb4
enable MathJax in fenced code block
2018-01-07 19:14:29 +08:00
Le Tan
7e1a254073
disable subscript and supscript in Markdown-it since the conflict with MathJax
2018-01-04 19:54:20 +08:00
Le Tan
2f1971476d
VMdEditor: support copy selected text as HTML
2018-01-04 13:27:42 +08:00
Le Tan
03122a24db
bug-fix: fix images when cutting files
...
1. De-duplicate the images occur multiple times in the note;
2. Refresh the read mode and edit mode preview after the directory path
change;
3. Update init images and inserted images after the directory path
change;
2017-12-21 21:02:56 +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
5c038e1f76
support Markdown-it option configs
2017-09-16 14:55:42 +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
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
97051badf0
refactor TOC logics
2017-06-01 13:21:17 +08:00
Le Tan
4c63839c4d
bugfix: escape special symbols (&) in TOC during generation
2017-05-26 18:19:42 +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
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
bacd112782
support task lists in markdown-it
2017-03-21 20:20:38 +08:00