search/
Start typing to search packages!
package_2
highlighter
By @boatbomber
Roblox
Mirrored from WallyThis version ships no README. Showing the README from v0.4.3, mirrored from wally.
Highlighter
RichText highlighting Lua code with a pure Lua lexer
Usage:
local Highlighter = require(script.Highlighter)
Highlighter(TextLabel) -- Highlights the text in the TextLabel
-- Alternatively
Highlighter.Highlight(TextLabel) -- Identical to just calling
Changing Colors:
-- Any of the given entries can be left nil for default
Highlighter.UpdateColors({
background = Color3.new(...),
iden = Color3.new(...),
keyword = Color3.new(...),
builtin = Color3.new(...),
string = Color3.new(...),
number = Color3.new(...),
comment = Color3.new(...),
operator = Color3.new(...)
})
Reset colors to default:
Highlighter.UpdateColors()
Package Details
Install command (Click to copy)
Version
0.11.1
License
MIT
Safe for commercial use
The package archive does not include its license text; the license is declared in its manifest metadata.
Automated license review — not legal advice.
