aboutsummaryrefslogtreecommitdiff
path: root/node_modules/prismjs/components/prism-less.min.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/prismjs/components/prism-less.min.js')
-rw-r--r--node_modules/prismjs/components/prism-less.min.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/node_modules/prismjs/components/prism-less.min.js b/node_modules/prismjs/components/prism-less.min.js
new file mode 100644
index 00000000..f8955cb1
--- /dev/null
+++ b/node_modules/prismjs/components/prism-less.min.js
@@ -0,0 +1 @@
+Prism.languages.less=Prism.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-]+?(?:\([^{}]+\)|[^(){};])*?(?=\s*\{)/i,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\([^{}]*\)|[^{};@])*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/i,punctuation:/[{}();:,]/,operator:/[+\-*\/]/}),Prism.languages.insertBefore("less","punctuation",{"function":Prism.languages.less.function}),Prism.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-]+.*?(?=[(;])/,lookbehind:!0,alias:"function"}}); \ No newline at end of file