fixed: context highlight in todo.txt
This commit is contained in:
parent
6b995c1ed8
commit
9eec853ca9
2
main.js
2
main.js
|
@ -2092,7 +2092,7 @@ function rawline2html(line, index, options)
|
||||||
{
|
{
|
||||||
line = line.replace(/(\(\w\))/g, "<span style='font-weight:bold; color:" + settings.accentcolor + "'>$1</span>");
|
line = line.replace(/(\(\w\))/g, "<span style='font-weight:bold; color:" + settings.accentcolor + "'>$1</span>");
|
||||||
line = line.replace(/(@\w*)/g, "<b style='color:grey'>$1</b>");
|
line = line.replace(/(@\w*)/g, "<b style='color:grey'>$1</b>");
|
||||||
line = line.replace(/(\+\w*)/g, "<span style='color:grey'>$1</span>");
|
line = line.replace(/(\s\+\w*)/g, "<span style='color:grey'>$1</span>");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return line;
|
return line;
|
||||||
|
|
Loading…
Reference in New Issue