mirror of
https://github.com/discourse/discourse.git
synced 2024-12-04 13:23:40 +08:00
8 lines
509 B
JavaScript
8 lines
509 B
JavaScript
/*! `leaf` grammar compiled for Highlight.js 11.6.0 */
|
|
var hljsGrammar=(()=>{"use strict";return a=>({name:"Leaf",contains:[{
|
|
className:"function",begin:"#+[A-Za-z_0-9]*\\(",end:/ \{/,returnBegin:!0,
|
|
excludeEnd:!0,contains:[{className:"keyword",begin:"#+"},{className:"title",
|
|
begin:"[A-Za-z_][A-Za-z_0-9]*"},{className:"params",begin:"\\(",end:"\\)",
|
|
endsParent:!0,contains:[{className:"string",begin:'"',end:'"'},{
|
|
className:"variable",begin:"[A-Za-z_][A-Za-z_0-9]*"}]}]}]})})()
|
|
;export default hljsGrammar; |