-
Notifications
You must be signed in to change notification settings - Fork 20
/
Wiki.JSON-tmLanguage
35 lines (34 loc) · 1.14 KB
/
Wiki.JSON-tmLanguage
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
{ "name": "Wiki",
"scopeName": "text.Wiki",
"fileTypes": ["wiki","sublime-wiki","swiki"],
"patterns": [
{ "name": "markup.underline.link.internal.Wiki",
"match": "([A-Z][a-z]+){2,}",
"comment": "Match WikiWords and make them into links."
},
{ "name": "markup.underline.link.external.Wiki",
"match": "((?:https?|ftp)://\\S+)",
"comment": "Simplest possible web address matcher. If you think this is basic, you should see the one in the Markdown syntax file."
},
{ "name": "string.quoted.double.Wiki",
"begin": "\"",
"end": "\"",
"comment" : "I know I don't need this, but I like strings to be called out."
},
{
"name":"string.quoted.code.Wiki",
"begin": "`",
"end":"`",
"comment": "May as well have code strings called out as well."
},
{ "name": "markup.bold.Wiki",
"match": "(\\*\\*|__)(.*?)(\\*\\*|__)",
"comment": "Markdown-style bold"
},
{ "name": "markup.italic.Wiki",
"match": "[^\\*_](\\*|_)[^\\*_]+?(\\*|_)[^\\*_]",
"comment": "Markdown-style italics"
}
],
"uuid": "14883dd8-b120-4a1e-a4c5-67c5e7815344"
}