diff options
Diffstat (limited to 'public/prism/prism-properties.min.js')
| -rw-r--r-- | public/prism/prism-properties.min.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/public/prism/prism-properties.min.js b/public/prism/prism-properties.min.js new file mode 100644 index 0000000..96f80d6 --- /dev/null +++ b/public/prism/prism-properties.min.js @@ -0,0 +1,10 @@ +Prism.languages.properties = { + comment: /^[ \t]*[#!].*$/m, + 'attr-value': { + pattern: + /(^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?: *[=:] *(?! )| ))(?:\\(?:\r\n|[\s\S])|[^\\\r\n])+/m, + lookbehind: !0, + }, + 'attr-name': /^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?= *[=:]| )/m, + punctuation: /[=:]/, +}; |
