Mercurial
view third_party/highlight/languages/json.min.js @ 268:f7b1188d5fb1
support repo rules Copilot bundle path
Match both +_repo_rules2+ and +http_archive+ Copilot CLI repository layouts during deployment and production startup.
Co-authored-by: Copilot <[email protected]>
| author | MrJuneJune <me@mrjunejune.com> |
|---|---|
| date | Fri, 07 Aug 2026 13:02:41 -0700 |
| parents | 2db6253f355d |
| children |
line wrap: on
line source
/*! `json` grammar compiled for Highlight.js 11.11.1 */ (()=>{var e=(()=>{"use strict";return e=>{const a=["true","false","null"],s={ scope:"literal",beginKeywords:a.join(" ")};return{name:"JSON",aliases:["jsonc"], keywords:{literal:a},contains:[{className:"attr", begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},{match:/[{}[\],:]/, className:"punctuation",relevance:0 },e.QUOTE_STRING_MODE,s,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE], illegal:"\\S"}}})();hljs.registerLanguage("json",e)})();