Skip to content

Commit be7910e

Browse files
committed
fix highlight error
1 parent a6c6d51 commit be7910e

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -119,10 +119,10 @@ notes -x src/ -x -x node_modules/ -x *.md
119119
code-notes scan for NOTE, OPTIMIZE, TODO, HACK, XXX, FIXME, and BUG comments within your source, and print them to stdout so you can deal with them. However, if you wish to define more annotations to be extracted, this can be easily done by extending the definitions in `lib/messageChecks.js`. An example for an annotation:
120120

121121
```javascript
122-
"todo": {
123-
"regex": /[\/\/][\/\*]\s*TODO\s*(?:\(([^:]*)\))*\s*:?\s*(.*)/i,
124-
"label": ' ✓ TODO',
125-
"colorer": chalk.magenta
122+
todo: {
123+
regex: /[\/\/][\/\*]\s*TODO\s*(?:\(([^:]*)\))*\s*:?\s*(.*)/i,
124+
label: ' ✓ TODO',
125+
colorer: chalk.magenta
126126
}
127127
```
128128

assets/css/style.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ a {
3535

3636
.highlight .hll { background-color: #ffffcc !important}
3737
.highlight .c { color: #008000 !important}
38-
.highlight .err { border: 1px solid #FF0000 !important}
38+
.highlight .err { border: 0 !important, background: none !important}
3939
.highlight .k { color: #0000ff !important}
4040
.highlight .cm { color: #008000 !important}
4141
.highlight .cp { color: #0000ff !important}

0 commit comments

Comments
 (0)