mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 12:32:40 +03:00
729f6eef9c
* Asterisk and underscore contexts don't play well with lists or words containing underscores. And given that markdown files could contain not only ASCII text, it is better to be conservative in detecting contexts. Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
31 lines
557 B
YAML
31 lines
557 B
YAML
# Markdown syntax highlighting
|
|
|
|
context default lightgray
|
|
spellcheck
|
|
# links
|
|
keyword whole [*](*) yellow
|
|
keyword \*\* white
|
|
keyword \* yellow
|
|
keyword \\_ lightgray
|
|
keyword wholeleft __ white
|
|
keyword wholeright __ white
|
|
keyword wholeleft _ yellow
|
|
keyword wholeright _ yellow
|
|
|
|
context linestart #### \n red
|
|
spellcheck
|
|
|
|
context linestart # \n brightred
|
|
spellcheck
|
|
|
|
context linestart > \n green
|
|
spellcheck
|
|
|
|
context linestart \s\s\s\s \n cyan
|
|
|
|
context ``` ``` cyan
|
|
|
|
context `` `` cyan
|
|
|
|
context ` ` cyan
|