Locally add prismjs
This commit is contained in:
parent
35af792c6a
commit
6aa044cf9b
701 changed files with 35787 additions and 0 deletions
14
node_modules/prismjs/components/prism-jexl.js
generated
vendored
Normal file
14
node_modules/prismjs/components/prism-jexl.js
generated
vendored
Normal file
|
@ -0,0 +1,14 @@
|
|||
Prism.languages.jexl = {
|
||||
'string': /(["'])(?:\\[\s\S]|(?!\1)[^\\])*\1/,
|
||||
'transform': {
|
||||
pattern: /(\|\s*)[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*/,
|
||||
alias: 'function',
|
||||
lookbehind: true
|
||||
},
|
||||
'function': /[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*\s*(?=\()/,
|
||||
'number': /\b\d+(?:\.\d+)?\b|\B\.\d+\b/,
|
||||
'operator': /[<>!]=?|-|\+|&&|==|\|\|?|\/\/?|[?:*^%]/,
|
||||
'boolean': /\b(?:false|true)\b/,
|
||||
'keyword': /\bin\b/,
|
||||
'punctuation': /[{}[\](),.]/,
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue