hexo/node_modules/prismjs/components/prism-arff.js

11 lines
243 B
JavaScript
Raw Normal View History

2023-10-03 11:14:36 +08:00
Prism.languages.arff = {
'comment': /%.*/,
'string': {
pattern: /(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,
greedy: true
},
'keyword': /@(?:attribute|data|end|relation)\b/i,
'number': /\b\d+(?:\.\d+)?\b/,
'punctuation': /[{},]/
};