@highlightjs/cdn-assets
Version:
Syntax highlighting with language autodetection. (pre-compiled CDN assets)
7 lines • 418 B
JavaScript
/*! `json` grammar compiled for Highlight.js 11.4.0 */
var hljsGrammar=(()=>{"use strict";return a=>({name:"JSON",contains:[{
className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},{
match:/[{}[\],:]/,className:"punctuation",relevance:0},a.QUOTE_STRING_MODE,{
beginKeywords:"true false null"
},a.C_NUMBER_MODE,a.C_LINE_COMMENT_MODE,a.C_BLOCK_COMMENT_MODE],illegal:"\\S"})
})();export default hljsGrammar;