mirror of
https://github.com/discourse/discourse.git
synced 2025-02-28 09:24:09 +08:00

The 10+ version has actually a bug with bash. We will wait a little bit before upgrading to 10, we should also make sure any of the breaking changes listed here https://github.com/highlightjs/highlight.js/blob/master/VERSION_10_BREAKING_CHANGES.md are not impacting us.
1 line
484 B
JavaScript
1 line
484 B
JavaScript
hljs.registerLanguage("roboconf",function(e){var a="[a-zA-Z-_][^\\n{]+\\{",n={cN:"attribute",b:/[a-zA-Z-_]+/,e:/\s*:/,eE:!0,starts:{e:";",relevance:0,c:[{cN:"variable",b:/\.[a-zA-Z-_]+/},{cN:"keyword",b:/\(optional\)/}]}};return{aliases:["graph","instances"],cI:!0,k:"import",c:[{b:"^facet "+a,e:"}",k:"facet",c:[n,e.HCM]},{b:"^\\s*instance of "+a,e:"}",k:"name count channels instance-data instance-state instance of",i:/\S/,c:["self",n,e.HCM]},{b:"^"+a,e:"}",c:[n,e.HCM]},e.HCM]}}); |