use prism-tomorrow.css
This commit is contained in:
27
docs/_style/prism-master/components/prism-roboconf.js
Normal file
27
docs/_style/prism-master/components/prism-roboconf.js
Normal file
@ -0,0 +1,27 @@
|
||||
Prism.languages.roboconf = {
|
||||
'comment': /#.*/,
|
||||
'keyword': {
|
||||
'pattern': /(^|\s)(?:(?:facet|instance of)(?=[ \t]+[\w-]+[ \t]*\{)|(?:external|import)\b)/,
|
||||
lookbehind: true
|
||||
},
|
||||
'component': {
|
||||
pattern: /[\w-]+(?=[ \t]*\{)/,
|
||||
alias: 'variable'
|
||||
},
|
||||
'property': /[\w.-]+(?=[ \t]*:)/,
|
||||
'value': {
|
||||
pattern: /(=[ \t]*)[^,;]+/,
|
||||
lookbehind: true,
|
||||
alias: 'attr-value'
|
||||
},
|
||||
'optional': {
|
||||
pattern: /\(optional\)/,
|
||||
alias: 'builtin'
|
||||
},
|
||||
'wildcard': {
|
||||
pattern: /(\.)\*/,
|
||||
lookbehind: true,
|
||||
alias: 'operator'
|
||||
},
|
||||
'punctuation': /[{},.;:=]/
|
||||
};
|
Reference in New Issue
Block a user