use prism-tomorrow.css
This commit is contained in:
20
docs/_style/prism-master/components/prism-hpkp.js
Normal file
20
docs/_style/prism-master/components/prism-hpkp.js
Normal file
@ -0,0 +1,20 @@
|
||||
/**
|
||||
* Original by Scott Helme.
|
||||
*
|
||||
* Reference: https://scotthelme.co.uk/hpkp-cheat-sheet/
|
||||
*/
|
||||
|
||||
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'
|
||||
}
|
||||
};
|
Reference in New Issue
Block a user