effective-java-3rd-chinese/docs/_style/prism-master/components/prism-hpkp.min.js
2019-03-14 13:10:17 +08:00

1 line
260 B
JavaScript

Prism.languages.hpkp={directive:{pattern:/\b(?:(?:includeSubDomains|preload|strict)(?: |;)|pin-sha256="[a-zA-Z\d+=\/]+"|(?:max-age|report-uri)=|report-to )/,alias:"keyword"},safe:{pattern:/\d{7,}/,alias:"selector"},unsafe:{pattern:/\d{0,6}/,alias:"function"}};