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

15 lines
270 B
JavaScript
Raw Normal View History

2023-09-25 15:58:56 +08:00
/**
* Original by Scott Helme.
*
* Reference: https://scotthelme.co.uk/hsts-cheat-sheet/
*/
Prism.languages.hsts = {
'directive': {
pattern: /\b(?:includeSubDomains|max-age|preload)(?=[\s;=]|$)/i,
alias: 'property'
},
'operator': /=/,
'punctuation': /;/
};