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

15 lines
323 B
JavaScript
Raw Normal View History

2023-10-03 11:14:36 +08:00
/**
* Original by Scott Helme.
*
* Reference: https://scotthelme.co.uk/hpkp-cheat-sheet/
*/
Prism.languages.hpkp = {
'directive': {
pattern: /\b(?:includeSubDomains|max-age|pin-sha256|preload|report-to|report-uri|strict)(?=[\s;=]|$)/i,
alias: 'property'
},
'operator': /=/,
'punctuation': /;/
};