]> luflow.net public git repositories - flow-web.git/blob - static/highlight/es/languages/ldif.js
Initial commit.
[flow-web.git] / static / highlight / es / languages / ldif.js
1 /*! `ldif` grammar compiled for Highlight.js 11.11.1 */
2 var hljsGrammar = (function () {
3 'use strict';
4
5 /*
6 Language: LDIF
7 Contributors: Jacob Childress <jacobc@gmail.com>
8 Category: enterprise, config
9 Website: https://en.wikipedia.org/wiki/LDAP_Data_Interchange_Format
10 */
11
12 /** @type LanguageFn */
13 function ldif(hljs) {
14 return {
15 name: 'LDIF',
16 contains: [
17 {
18 className: 'attribute',
19 match: '^dn(?=:)',
20 relevance: 10
21 },
22 {
23 className: 'attribute',
24 match: '^\\w+(?=:)'
25 },
26 {
27 className: 'literal',
28 match: '^-'
29 },
30 hljs.HASH_COMMENT_MODE
31 ]
32 };
33 }
34
35 return ldif;
36
37 })();
38 ;
39 export default hljsGrammar;