-
Notifications
You must be signed in to change notification settings - Fork 16
/
markdown.msy
66 lines (54 loc) · 2.1 KB
/
markdown.msy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
#TagBegin=
#TagEnd=
#CommentBegin1=
#CommentEnd1=
#LineComment1=
#CommentBegin2=
#CommentEnd2=
#LineComment2=
#SpecialSyntax=None
#ScriptBegin=
#ScriptEnd=
#QuoteSingle=False
#QuoteDouble=False
#QuoteContinue=False
#EscapeCharacter=
#Word Color=0, WholeWord=False, RightSide=False, MatchCase=False, InsideTag=False, RegEx=True
(?<!\\)<([^^>\r\n]|\\>)+>
(?<!\\)\[([^^\]\r\n]|\\\])+\]
#Word Color=1, WholeWord=False, RightSide=False, MatchCase=False, InsideTag=False, RegEx=True
(?<!\\)\*([^^ \*\r\n]|\\\*)+\*
(?<!\\)\*\*([^^ \*\r\n]|\\\*)+\*\*
(?<!\\)_([^^ _\r\n]|\\_)+_
(?<!\\)__([^^ _\r\n]|\\_)+__
(?<=\s)\*([^^ \*\r\n]|\\\*)([^^\*\r\n]|\\\*)+\*
(?<=\s)\*\*([^^ \*\r\n]|\\\*)([^^\*\r\n]|\\\*)+\*\*
(?<=\s)_([^^ _\r\n]|\\_)([^^_\r\n]|\\_)+_
(?<=\s)__([^^ _\r\n]|\\_)([^^_\r\n]|\\_)+__
^^\*([^^ \*\r\n]|\\\*)([^^\*\r\n]|\\\*)+\*
^^\*\*([^^ \*\r\n]|\\\*)([^^\*\r\n]|\\\*)+\*\*
^^_([^^ _\r\n]|\\_)([^^_\r\n]|\\_)+_
^^__([^^ _\r\n]|\\_)([^^_\r\n]|\\_)+__
#Word Color=1, WholeWord=False, RightSide=True, MatchCase=False, InsideTag=False, RegEx=True
^^(\s*=){3,}$
#Word Color=2, WholeWord=False, RightSide=False, MatchCase=False, InsideTag=False, RegEx=True
^^\s*[\*\+\-]\s
^^\s*\d+\.\s
#Word Color=2, WholeWord=False, RightSide=True, MatchCase=False, InsideTag=False, RegEx=True
^^(\s*-){3,}$
^^(\s*\*){3,}$
#Word Color=3, WholeWord=False, RightSide=True, MatchCase=False, InsideTag=False, RegEx=True
^^( {4,}|\t+ *)(?!(\s|\*|\+|-|\d+\.))
^^\s*>
#Word Color=4, WholeWord=False, RightSide=False, MatchCase=False, InsideTag=False, RegEx=True
&^#?\w+;
#Word Color=5, WholeWord=False, RightSide=True, MatchCase=False, InsideTag=False, RegEx=True
^^^#{3,6}\s
#Word Color=6, WholeWord=False, RightSide=False, MatchCase=False, InsideTag=False, RegEx=True
^^.+\r?\n-+$
#Word Color=6, WholeWord=False, RightSide=True, MatchCase=False, InsideTag=False, RegEx=True
^^^#^#\s
#Word Color=7, WholeWord=False, RightSide=False, MatchCase=False, InsideTag=False, RegEx=True
^^.+\r?\n\=+$
#Word Color=7, WholeWord=False, RightSide=True, MatchCase=False, InsideTag=False, RegEx=True
^^^#\s