highlight.js T-SQL language grammar

JSON →
library 1.3.0 ·javascript
verified Jun 5, 2026

A language grammar for Transact-SQL (T-SQL) to be used with the highlight.js syntax highlighting library. Current stable version is 1.3.0, released under a maintenance cadence. It provides highlighting for T-SQL code in web pages or web apps. Unlike generic SQL grammars, this one specifically targets T-SQL keywords, built-in functions, data types, and system objects. It ships TypeScript type definitions and is designed as a third-party language module for highlight.js, requiring the parent library.