Comparing version 0.0.2 to 0.1.0
16
index.js
@@ -206,3 +206,3 @@ (function (Prism) { | ||
* | ||
* Supports PHP 5.3 - 8.0 | ||
* Supports Neos Fusion | ||
*/ | ||
@@ -279,7 +279,7 @@ Prism.languages.neosfusion = { | ||
{ | ||
pattern: /(?:\/\/.*)|(?:#(?!\[).*)$/m, | ||
pattern: /(?:\/\/|#).*$/m, | ||
greedy: true | ||
}, | ||
{ | ||
pattern: /\/\*[\s\S]*?(?:\*\/|$)/m, | ||
pattern: /^(?!.*include:).*\/\*[\s\S]*?\*\//gm, | ||
greedy: true | ||
@@ -296,8 +296,10 @@ } | ||
'include-statement': { | ||
pattern: /^include:.*$/m, | ||
pattern: /^\s*(include:.*)$/m, | ||
alias: 'url', | ||
lookbehind: true, | ||
greedy: true, | ||
inside: { | ||
'punctuation': /(?<=include):/, | ||
'punctuation': { | ||
pattern: /(include):/, | ||
lookbehind: true, | ||
}, | ||
'keyword': { | ||
@@ -323,3 +325,3 @@ pattern: /include/i, | ||
'namespace': /\b[-.:@"'\w]+(?=:[-.:@"'\w]+)/, | ||
'punctuation': /(?<!\\):/ | ||
'punctuation': /:/ | ||
} | ||
@@ -326,0 +328,0 @@ }, |
{ | ||
"name": "prism-neos", | ||
"version": "0.0.2", | ||
"version": "0.1.0", | ||
"description": "Neos Fusion & AFX language support", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
16154
7
314