{"id":18718497,"url":"https://github.com/highlightjs/highlightjs-tsql","last_synced_at":"2025-04-12T13:33:54.839Z","repository":{"id":40426731,"uuid":"213496343","full_name":"highlightjs/highlightjs-tsql","owner":"highlightjs","description":"JavaScript syntax highlighter for with zero dependencies for MS SQL Transact-SQL language","archived":false,"fork":false,"pushed_at":"2024-08-21T09:20:29.000Z","size":218,"stargazers_count":7,"open_issues_count":0,"forks_count":5,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-04-05T00:31:33.479Z","etag":null,"topics":["highlight-js","javascript","syntax-highlighting","t-sql","tsql"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","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","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":"2019-10-07T22:10:47.000Z","updated_at":"2024-08-21T09:20:34.000Z","dependencies_parsed_at":"2024-11-07T13:23:31.066Z","dependency_job_id":"122323c1-4a15-495e-afc9-879fb26be91a","html_url":"https://github.com/highlightjs/highlightjs-tsql","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/highlightjs%2Fhighlightjs-tsql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/highlightjs%2Fhighlightjs-tsql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/highlightjs%2Fhighlightjs-tsql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/highlightjs%2Fhighlightjs-tsql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/highlightjs","download_url":"https://codeload.github.com/highlightjs/highlightjs-tsql/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248508101,"owners_count":21115764,"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":["highlight-js","javascript","syntax-highlighting","t-sql","tsql"],"created_at":"2024-11-07T13:21:38.354Z","updated_at":"2025-04-12T13:33:49.832Z","avatar_url":"https://github.com/highlightjs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Transact-SQL (T-SQL) - a language grammar for [highlight.js](https://highlightjs.org/)\n\n## Demo\n\nThe below screenshot was captured from a [demo webpage](docs/demo.html) after dropping `highlight.min.js` to a `dist` folder.\n\n![Demo](docs/demo-screenshot.png)\n\n## Usage\n\nSimply include the [highlight.js](https://github.com/highlightjs/highlight.js) library in your webpage, then add this module.\n\n### npm package\n\nThis module is hosted on npmjs.org as [highlight.js-tsql](https://www.npmjs.com/package/highlight.js-tsql).\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 type=\"text/javascript\" src=\"/path/to/highlightjs-tsql/dist/tsql.min.js\"\u003e\u003c/script\u003e\n\u003clink rel=\"stylesheet\" href=\"/path/to/highlightjs-tsql/dist/ssms.min.css\" /\u003e\n\u003cscript type=\"text/javascript\"\u003e\n  hljs.highlightAll();\n\u003c/script\u003e\n```\n\nFor more details of the usage see [Highlight.js main page](https://github.com/highlightjs/highlight.js#highlightjs).\n\n## Authors\n\n[David Simner](https://github.com/DavidSimner), [Greg Smulko](https://github.com/Greg-Smulko)\n\n## Maintainers\n\n[Greg Smulko](https://github.com/Greg-Smulko)\n\n## Sponsor\n\nCreation of this library was sponsored by [Redgate Software](http://redgate.com/).\n\n## Contribution\n\nFeel free to create issues or (even better) pull requests.\n\nA good starting point for how to build and test your changes locally is [here](https://github.com/highlightjs/highlight.js/blob/master/extra/3RD_PARTY_QUICK_START.md).\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 T-SQL: \u003chttps://docs.microsoft.com/en-us/sql/t-sql/language-reference\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhighlightjs%2Fhighlightjs-tsql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhighlightjs%2Fhighlightjs-tsql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhighlightjs%2Fhighlightjs-tsql/lists"}