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

11 lines
208 B
JavaScript
Raw Normal View History

2018-12-19 14:09:39 +08:00
Prism.languages.ini= {
'comment': /^[ \t]*;.*$/m,
'selector': /^[ \t]*\[.*?\]/m,
'constant': /^[ \t]*[^\s=]+?(?=[ \t]*=)/m,
'attr-value': {
pattern: /=.*/,
inside: {
'punctuation': /^[=]/
}
}
};