use prism-tomorrow.css
This commit is contained in:
31
docs/_style/prism-master/components/prism-smalltalk.js
Normal file
31
docs/_style/prism-master/components/prism-smalltalk.js
Normal file
@ -0,0 +1,31 @@
|
||||
Prism.languages.smalltalk = {
|
||||
'comment': /"(?:""|[^"])+"/,
|
||||
'string': /'(?:''|[^'])+'/,
|
||||
'symbol': /#[\da-z]+|#(?:-|([+\/\\*~<>=@%|&?!])\1?)|#(?=\()/i,
|
||||
'block-arguments': {
|
||||
pattern: /(\[\s*):[^\[|]*\|/,
|
||||
lookbehind: true,
|
||||
inside: {
|
||||
'variable': /:[\da-z]+/i,
|
||||
'punctuation': /\|/
|
||||
}
|
||||
},
|
||||
'temporary-variables': {
|
||||
pattern: /\|[^|]+\|/,
|
||||
inside: {
|
||||
'variable': /[\da-z]+/i,
|
||||
'punctuation': /\|/
|
||||
}
|
||||
},
|
||||
'keyword': /\b(?:nil|true|false|self|super|new)\b/,
|
||||
'character': {
|
||||
pattern: /\$./,
|
||||
alias: 'string'
|
||||
},
|
||||
'number': [
|
||||
/\d+r-?[\dA-Z]+(?:\.[\dA-Z]+)?(?:e-?\d+)?/,
|
||||
/\b\d+(?:\.\d+)?(?:e-?\d+)?/
|
||||
],
|
||||
'operator': /[<=]=?|:=|~[~=]|\/\/?|\\\\|>[>=]?|[!^+\-*&|,@]/,
|
||||
'punctuation': /[.;:?\[\](){}]/
|
||||
};
|
Reference in New Issue
Block a user