{"id":18718503,"url":"https://github.com/highlightjs/highlightjs-luau","last_synced_at":"2026-01-08T05:04:59.233Z","repository":{"id":206613072,"uuid":"717266507","full_name":"highlightjs/highlightjs-luau","owner":"highlightjs","description":"Highlight.js grammar for Luau (for Roblox)","archived":false,"fork":false,"pushed_at":"2024-06-09T14:41:58.000Z","size":17,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-06-12T16:37:59.700Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/highlightjs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-11-11T00:29:45.000Z","updated_at":"2024-06-12T16:37:59.701Z","dependencies_parsed_at":"2023-11-11T04:28:52.146Z","dependency_job_id":"d4a46526-4abd-484d-9006-8faa8db193e3","html_url":"https://github.com/highlightjs/highlightjs-luau","commit_stats":null,"previous_names":["highlightjs/highlightjs-luau"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/highlightjs%2Fhighlightjs-luau","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/highlightjs%2Fhighlightjs-luau/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/highlightjs%2Fhighlightjs-luau/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/highlightjs%2Fhighlightjs-luau/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/highlightjs","download_url":"https://codeload.github.com/highlightjs/highlightjs-luau/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246182992,"owners_count":20736854,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T13:21:39.496Z","updated_at":"2026-01-08T05:04:59.191Z","avatar_url":"https://github.com/highlightjs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg src=\"./assets/luau-logo.png\" width=\"128\" align=\"right\"\u003e\n\n# Luau Language Grammar for highlight.js\n\n[Luau](https://luau.org) is a fast, small, safe, gradually typed embeddable scripting language derived from Lua.\n\n[![NPM](https://nodei.co/npm/highlightjs-luau.png)](https://www.npmjs.com/package/highlightjs-luau)\n\n[![npm](https://img.shields.io/npm/v/highlightjs-luau)](https://www.npmjs.com/package/highlightjs-luau)\n[![npm](https://img.shields.io/npm/dt/highlightjs-luau)](https://www.npmjs.com/package/highlightjs-luau)\n![install size](https://badgen.net/packagephobia/install/highlightjs-luau)\n[![GitHub](https://img.shields.io/github/license/highlightjs/highlightjs-luau)](https://github.com/highlightjs/highlightjs-luau/blob/main/LICENSE.md)\n![Snyk Vulnerabilities for npm package](https://img.shields.io/snyk/vulnerabilities/npm/highlightjs-luau)\n[![CDN download](https://badgen.net/badge/jsDelivr/download/blue?icon=jsdelivr)](https://cdn.jsdelivr.net/npm/highlightjs-luau/dist/luau.min.js)\n\n## Usage\n\nSimply include the Highlight.js library in your webpage or Node app, then load this module. For more complex usage, see [highlight.js usage](https://github.com/highlightjs/highlight.js#basic-usage).\n\n### Static website or simple usage\n\nSimply load this module after loading Highlight.js. You'll use the minified version found in the `dist` directory. This module is just a CDN build of the language, so it will register itself as the Javascript is loaded.\n\n```html\n\u003cscript type=\"text/javascript\" src=\"/path/to/highlight.min.js\"\u003e\u003c/script\u003e\n\u003cscript\n\ttype=\"text/javascript\"\n\tcharset=\"UTF-8\"\n\tsrc=\"/path/to/highlightjs-luau/dist/luau.min.js\"\u003e\u003c/script\u003e\n\u003cscript type=\"text/javascript\"\u003e\n\thljs.registerLanguage('luau', hljsDefineLuau);\n\thljs.highlightAll();\n\u003c/script\u003e\n```\n\n### Using directly from the UNPKG CDN\n\n```html\n\u003cscript\n\ttype=\"text/javascript\"\n\tsrc=\"https://unpkg.com/highlightjs-luau/dist/luau.min.js\"\u003e\u003c/script\u003e\n```\n\n- More info: \u003chttps://unpkg.com\u003e\n\n### With Node or another build system\n\nIf you're using Node / Webpack / Rollup / Browserify, etc, simply require the language module, then register it with Highlight.js.\n\n```javascript\nvar hljs = require('highlightjs');\nvar hljsLuau = require('highlightjs-luau');\n\nhljs.registerLanguage('luau', hljsLuau);\nhljs.highlightAll();\n```\n\n## License\n\nHighlight.js is released under the BSD 3-Clause License. See [LICENSE](https://github.com/highlightjs/highlight.js/blob/main/LICENSE) file for details.\nHighlightjs-luau is released under the MIT License. See [LICENSE](/LICENSE.md) file for details.\n\n## Author\n\nRobloxian Demo [https://github.com/RobloxianDemo](https://github.com/RobloxianDemo).\n\n## Contribution\n\nFeel free to create issues or (even better) pull requests.\n\n## Links\n\n- The official site for the Highlight.js library is \u003chttps://highlightjs.org/\u003e.\n- The Highlight.js GitHub project: \u003chttps://github.com/highlightjs/highlight.js\u003e.\n- Learn more about the Luau language: \u003chttps://luau-lang.org/why\u003e.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhighlightjs%2Fhighlightjs-luau","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhighlightjs%2Fhighlightjs-luau","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhighlightjs%2Fhighlightjs-luau/lists"}