add markdown code strings
@@ -136,6 +136,7 @@ color8 = {
"logo": 7,
"matching_bracket": 1,
"matching_find": 1,
+ "md_code": 2,
"md_link": 2,
"message_line": 3,
"misspelling": 3,
@@ -217,6 +218,7 @@ color16 = {
"logo": borderColor16Index,
"matching_bracket": 15,
"matching_find": 9,
+ "md_code": stringColor16Index,
"md_link": stringColor16Index,
"message_line": borderColor16Index,
"misspelling": 9,
@@ -296,6 +298,7 @@ color256 = {
"logo": 168,
"matching_bracket": 201,
"matching_find": 9,
+ "md_code": stringColorIndex,
"md_link": stringColorIndex,
"message_line": 3,
"misspelling": 9,
@@ -1048,12 +1051,19 @@ prefs = {
"md": {
"indent": " ",
"keywords": [],
+ "special": [ r"#.*" ],
#"special": [r"\[[^]]+\]\([^)]+\)"],
"contains": [
"md_link",
+ "md_code",
#"quoted_string1", "quoted_string2"
],
},
+ "md_code": {
+ "begin": "`",
+ "end": "`",
+ "indent": " ",
+ },
"md_link": {
"begin": "\[",
"end": "\]",
