mirror of
https://github.com/discourse/discourse.git
synced 2024-12-15 22:10:28 +08:00
5 lines
345 B
JavaScript
5 lines
345 B
JavaScript
hljs.registerLanguage("ldif",(()=>{"use strict";return e=>({name:"LDIF",
|
|
contains:[{className:"attribute",begin:"^dn",end:": ",excludeEnd:!0,starts:{
|
|
end:"$",relevance:0},relevance:10},{className:"attribute",begin:"^\\w",end:": ",
|
|
excludeEnd:!0,starts:{end:"$",relevance:0}},{className:"literal",begin:"^-",
|
|
end:"$"},e.HASH_COMMENT_MODE]})})()); |