use prism-tomorrow.css
This commit is contained in:
11
docs/_style/prism-master/components/prism-php-extras.js
Normal file
11
docs/_style/prism-master/components/prism-php-extras.js
Normal file
@ -0,0 +1,11 @@
|
||||
Prism.languages.insertBefore('php', 'variable', {
|
||||
'this': /\$this\b/,
|
||||
'global': /\$(?:_(?:SERVER|GET|POST|FILES|REQUEST|SESSION|ENV|COOKIE)|GLOBALS|HTTP_RAW_POST_DATA|argc|argv|php_errormsg|http_response_header)\b/,
|
||||
'scope': {
|
||||
pattern: /\b[\w\\]+::/,
|
||||
inside: {
|
||||
keyword: /static|self|parent/,
|
||||
punctuation: /::|\\/
|
||||
}
|
||||
}
|
||||
});
|
Reference in New Issue
Block a user