fix
This commit is contained in:
31
book/node_modules/highlight.js/es/languages/ldif.js
generated
vendored
Normal file
31
book/node_modules/highlight.js/es/languages/ldif.js
generated
vendored
Normal file
@ -0,0 +1,31 @@
|
||||
/*
|
||||
Language: LDIF
|
||||
Contributors: Jacob Childress <jacobc@gmail.com>
|
||||
Category: enterprise, config
|
||||
Website: https://en.wikipedia.org/wiki/LDAP_Data_Interchange_Format
|
||||
*/
|
||||
|
||||
/** @type LanguageFn */
|
||||
function ldif(hljs) {
|
||||
return {
|
||||
name: 'LDIF',
|
||||
contains: [
|
||||
{
|
||||
className: 'attribute',
|
||||
match: '^dn(?=:)',
|
||||
relevance: 10
|
||||
},
|
||||
{
|
||||
className: 'attribute',
|
||||
match: '^\\w+(?=:)'
|
||||
},
|
||||
{
|
||||
className: 'literal',
|
||||
match: '^-'
|
||||
},
|
||||
hljs.HASH_COMMENT_MODE
|
||||
]
|
||||
};
|
||||
}
|
||||
|
||||
export { ldif as default };
|
Reference in New Issue
Block a user