Le Tan
28eb48cc2e
PegParser: support ~~~ as fenced code block
2018-11-22 20:31:47 +08:00
Le Tan
abee597812
PegHighlighter: support fast parse
2018-07-14 12:45:15 +08:00
Le Tan
bb308a06d1
PegMarkdownHighlighter: multi-threads highlighter support
2018-07-12 20:19:23 +08:00
Le Tan
05e4159530
bug-fix: fix leading spaces issue of VCodeBlockHighlightHelper
...
For example, a token " abc" in text "def\n abc", the leading space may
be consumed by the former "\n".
2018-04-12 19:32:04 +08:00
Le Tan
72946d0e15
Markdown Highlighter: more speed
2017-11-30 21:25:28 +08:00
Le Tan
639d1cb9e9
refactor VCodeBlockHighlightHelper
...
1. Use QVector instead of QList;
2. Use cache for highlight result;
2017-09-05 20:54:15 +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