mirror of
https://codeberg.org/nobody/LocalCDN.git
synced 2024-12-19 14:42:56 +01:00
12 lines
809 B
JavaScript
12 lines
809 B
JavaScript
/*! `roboconf` grammar compiled for Highlight.js 11.6.0 */
|
|
(()=>{var e=(()=>{"use strict";return e=>{const n="[a-zA-Z-_][^\\n{]+\\{",a={
|
|
className:"attribute",begin:/[a-zA-Z-_]+/,end:/\s*:/,excludeEnd:!0,starts:{
|
|
end:";",relevance:0,contains:[{className:"variable",begin:/\.[a-zA-Z-_]+/},{
|
|
className:"keyword",begin:/\(optional\)/}]}};return{name:"Roboconf",
|
|
aliases:["graph","instances"],case_insensitive:!0,keywords:"import",contains:[{
|
|
begin:"^facet "+n,end:/\}/,keywords:"facet",contains:[a,e.HASH_COMMENT_MODE]},{
|
|
begin:"^\\s*instance of "+n,end:/\}/,
|
|
keywords:"name count channels instance-data instance-state instance of",
|
|
illegal:/\S/,contains:["self",a,e.HASH_COMMENT_MODE]},{begin:"^"+n,end:/\}/,
|
|
contains:[a,e.HASH_COMMENT_MODE]},e.HASH_COMMENT_MODE]}}})()
|
|
;hljs.registerLanguage("roboconf",e)})(); |