Skip to content

Commit 70bae72

Browse files
committed
Update the option about highlighting HEX value:
Rather than the old key `default.extraHighlight`, it is now called `goodies.hex`. More specific. And other extra highlighting can be added under "goodies" in future.
1 parent 2138697 commit 70bae72

7 files changed

Lines changed: 26 additions & 14 deletions

build/template.hbs.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
<KeywordLists>
88
<Keywords name="Comments">00# 01 02((EOL)) 03&lt;!-- 04--&gt;</Keywords>
99
<Keywords name="Numbers, prefix1"></Keywords>
10-
<Keywords name="Numbers, prefix2">{{#default.extraHighlight}}0x{{/default.extraHighlight}}</Keywords>
11-
<Keywords name="Numbers, extras1">{{#default.extraHighlight}}A B C D E F{{/default.extraHighlight}}</Keywords>
10+
<Keywords name="Numbers, prefix2">{{#if goodies.hex}}0x{{/if}}</Keywords>
11+
<Keywords name="Numbers, extras1">{{#if goodies.hex}}A B C D E F{{/if}}</Keywords>
1212
<Keywords name="Numbers, extras2"></Keywords>
1313
<Keywords name="Numbers, suffix1">.</Keywords>
1414
<Keywords name="Numbers, suffix2">.</Keywords>

config/markdown.blackboard.config.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
"themeName": "Blackboard",
33
"default": {
44
"fgColor": "F8F8F8",
5-
"bgColor": "0C1021",
6-
"extraHighlight": false
5+
"bgColor": "0C1021"
76
},
87
"header": {
98
"fgColor": "FF6400"
@@ -26,6 +25,9 @@
2625
"comment": {
2726
"fgColor": "AEAEAE"
2827
},
28+
"goodies": {
29+
"hex": false
30+
},
2931
"flags": {
3032
"transparentBg": false,
3133
"asteriskUnorderedList": false

config/markdown.deep-black.config.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
"themeName": "Deep Black",
33
"default": {
44
"fgColor": "FFFFFF",
5-
"bgColor": "000000",
6-
"extraHighlight": false
5+
"bgColor": "000000"
76
},
87
"header": {
98
"fgColor": "FF6600"
@@ -26,6 +25,9 @@
2625
"comment": {
2726
"fgColor": "00FF00"
2827
},
28+
"goodies": {
29+
"hex": false
30+
},
2931
"flags": {
3032
"transparentBg": false,
3133
"asteriskUnorderedList": false

config/markdown.default.config.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
"themeName": "Default",
33
"default": {
44
"fgColor": "333333",
5-
"bgColor": "FFFFFF",
6-
"extraHighlight": false
5+
"bgColor": "FFFFFF"
76
},
87
"header": {
98
"fgColor": "FF8000"
@@ -26,6 +25,9 @@
2625
"comment": {
2726
"fgColor": "808080"
2827
},
28+
"goodies": {
29+
"hex": false
30+
},
2931
"flags": {
3032
"transparentBg": false,
3133
"asteriskUnorderedList": false

config/markdown.solarized-light.config.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
"themeName": "Solarized-light",
33
"default": {
44
"fgColor": "657B83",
5-
"bgColor": "FDF6E3",
6-
"extraHighlight": false
5+
"bgColor": "FDF6E3"
76
},
87
"header": {
98
"fgColor": "CB4B16"
@@ -26,6 +25,9 @@
2625
"comment": {
2726
"fgColor": "93A1A1"
2827
},
28+
"goodies": {
29+
"hex": false
30+
},
2931
"flags": {
3032
"transparentBg": false,
3133
"asteriskUnorderedList": false

config/markdown.solarized.config.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
"themeName": "Solarized",
33
"default": {
44
"fgColor": "839496",
5-
"bgColor": "002B36",
6-
"extraHighlight": false
5+
"bgColor": "002B36"
76
},
87
"header": {
98
"fgColor": "CB4B16"
@@ -26,6 +25,9 @@
2625
"comment": {
2726
"fgColor": "586E75"
2827
},
28+
"goodies": {
29+
"hex": false
30+
},
2931
"flags": {
3032
"transparentBg": false,
3133
"asteriskUnorderedList": false

config/markdown.zenburn.config.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
"themeName": "Zenburn",
33
"default": {
44
"fgColor": "DCDCCC",
5-
"bgColor": "3F3F3F",
6-
"extraHighlight": false
5+
"bgColor": "3F3F3F"
76
},
87
"header": {
98
"fgColor": "FF8040"
@@ -26,6 +25,9 @@
2625
"comment": {
2726
"fgColor": "7F9F7F"
2827
},
28+
"goodies": {
29+
"hex": false
30+
},
2931
"flags": {
3032
"transparentBg": false,
3133
"asteriskUnorderedList": false

0 commit comments

Comments
 (0)