mirror of
https://github.com/discourse/discourse.git
synced 2024-12-14 04:13:44 +08:00
7 lines
606 B
JavaScript
7 lines
606 B
JavaScript
/*! `csp` grammar compiled for Highlight.js 11.8.0 */
|
|
(()=>{var s=(()=>{"use strict";return s=>({name:"CSP",case_insensitive:!1,
|
|
keywords:{$pattern:"[a-zA-Z][a-zA-Z0-9_-]*",
|
|
keyword:["base-uri","child-src","connect-src","default-src","font-src","form-action","frame-ancestors","frame-src","img-src","manifest-src","media-src","object-src","plugin-types","report-uri","sandbox","script-src","style-src","trusted-types","unsafe-hashes","worker-src"]
|
|
},contains:[{className:"string",begin:"'",end:"'"},{className:"attribute",
|
|
begin:"^Content",end:":",excludeEnd:!0}]})})();hljs.registerLanguage("csp",s)
|
|
})(); |