{"id":"boatbomber/highlighter","name":"highlighter","scope":"boatbomber","platform":"roblox","description":"RichText highlighting Luau code with a pure Luau lexer","version":"0.11.1","latest":"0.11.1","versions":["0.4.3","0.4.4","0.4.5","0.4.6","0.4.7","0.5.0","0.5.1","0.5.2","0.5.3","0.5.4","0.5.5","0.5.6","0.6.0","0.6.1","0.6.2","0.7.0","0.7.1","0.8.0","0.8.1","0.8.2","0.8.3","0.9.0","0.11.0","0.11.1"],"license":"MIT","licenseRating":"safe","licenseCaveats":["The package archive does not include its license text; the license is declared in its manifest metadata."],"licenseVerified":false,"dependencies":{},"integrity":"51be1e2af15dbcca53f9d10c263c68dbbb8d32cd8dcbce526a59a9d76a53a803","likes":0,"downloads":0,"install":"forest install boatbomber/highlighter","url":"https://forest.dev/p/roblox/boatbomber/highlighter","files":"https://api.forest.dev/ai/package/roblox/boatbomber/highlighter/files","readme":"# Highlighter\r\nRichText highlighting Lua code with a pure Lua lexer\r\n\r\nUsage:\r\n```Lua\r\nlocal Highlighter = require(script.Highlighter)\r\n\r\nHighlighter(TextLabel) -- Highlights the text in the TextLabel\r\n\r\n-- Alternatively\r\nHighlighter.Highlight(TextLabel) -- Identical to just calling\r\n```\r\nChanging Colors:\r\n```Lua\r\n-- Any of the given entries can be left nil for default\r\nHighlighter.UpdateColors({\r\n\tbackground = Color3.new(...),\r\n\tiden = Color3.new(...),\r\n\tkeyword = Color3.new(...),\r\n\tbuiltin = Color3.new(...),\r\n\tstring = Color3.new(...),\r\n\tnumber = Color3.new(...),\r\n\tcomment = Color3.new(...),\r\n\toperator = Color3.new(...)\r\n})\r\n```\r\nReset colors to default:\r\n```Lua\r\nHighlighter.UpdateColors()\r\n```\r\n","readmeBorrowedFrom":{"version":"0.4.3","source":"wally"},"readmeTruncated":false}