CS-Notes/docs/_style/prism-master/components/prism-arff.js

10 lines
232 B
JavaScript
Raw Permalink Normal View History

2018-12-19 14:09:39 +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': /[{},]/
};