mirror of
https://github.com/sern-handler/website
synced 2026-06-26 09:42:24 +00:00
8 lines
231 B
JavaScript
8 lines
231 B
JavaScript
Prism.languages.jsonp = Prism.languages.extend('json', {
|
|
'punctuation': /[{}[\]();,.]/
|
|
});
|
|
|
|
Prism.languages.insertBefore('jsonp', 'punctuation', {
|
|
'function': /(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*\()/
|
|
});
|