Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/highlightjs/highlight.js
/ toString
Method
toString
tools/checkTheme.js:227–229 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
225
return
this.fg || this.bg;
226
}
227
toString() {
228
return
` ${this.foreground} on ${this.background}`
229
}
230
231
contrastRatio() {
232
if
(!this.foreground)
return
"unknown (no fg)"
Callers
11
buildSRIDigests
Function · 0.80
checkAutoDetect.js
File · 0.80
contrast_report
Function · 0.80
checkTheme.js
File · 0.80
getDefaultHeader
Function · 0.80
detailedGrammarSizes
Function · 0.80
number.js
File · 0.80
cNumber.js
File · 0.80
parseRegex
Function · 0.80
powershell.js
File · 0.80
countMatchGroups
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected