14 Commits

Author SHA1 Message Date
Le Tan
33c3a5a301 StyleParser: bug fix for code block styles 2018-09-07 20:56:14 +08:00
Le Tan
fbfc6c1dd6 highlighter: support Fenced Code Block 2018-07-12 20:19:07 +08:00
Le Tan
e2dd062a24 style: support STRIKE and NOTES
- Add "strikeout" support in mdhl file;
2018-05-05 14:18:30 +08:00
Le Tan
45526cc0a8 bug-fix
- Caculate font height every time on painting line number area;
- Support specifying multiple fonts in font-family in qss;
- Add margin for "li ol" in CSS;
2018-01-16 21:05:35 +08:00
Le Tan
e9238c921e support color column in fenced code block by config color_column 2017-09-12 08:46:39 +08:00
Le Tan
4374f2d8f1 editor: add line number and editor-line-number config 2017-07-07 17:21:15 +08:00
Le Tan
eeaeb0b567 enable font-size in editor section in MDHL file 2017-06-28 20:08:01 +08:00
Le Tan
5b150a3634 handle HTML comment correctly 2017-06-01 22:05:02 +08:00
Le Tan
73530355fd support highlighting trailing space 2017-05-25 19:52:10 +08:00
Le Tan
bf55ba01ce bugfix: match Chinese fonts in mdhl 2017-05-08 19:50:39 +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
c48fbe16da refine editor style
1. Support editor-current-line and editor-selection style in MDHL;
2. Support vim-background in editor-current-line;
2017-03-31 20:44:30 +08:00
Le Tan
238983ed0d refine all messages 2017-02-27 22:30:35 +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