6 Commits

Author SHA1 Message Date
Le Tan
17c136f11d modify the heading highlight in default.mdhl
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-10-20 21:58:26 +08:00
Le Tan
c8d9745253 highlight code block using regular expression
peg-markdown-highlight can't hanlde code blocks with "#" correctly. Use
regular expression to fix it to avoid mis-interpret the "#" line as a
heading.

Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-10-15 21:15:54 +08:00
Le Tan
2adbd7c409 support font family settings in editor style
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-10-14 11:56:47 +08:00
Le Tan
eb5b6a6276 support font family style in markdown highlighting
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-10-13 23:07:06 +08:00
Le Tan
1b220efb64 change default markdown highlight styles
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-10-13 21:03:30 +08:00
Le Tan
d22f0124d3 add VStyleParser as a wrapper of pmh_styleparser
Use VStyleParser to read .mdhl style file for markdown highlighting.

Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-10-13 17:08:39 +08:00