use prism-tomorrow.css
This commit is contained in:
20
docs/_style/prism-master/components/prism-hsts.js
Normal file
20
docs/_style/prism-master/components/prism-hsts.js
Normal file
@ -0,0 +1,20 @@
|
||||
/**
|
||||
* Original by Scott Helme.
|
||||
*
|
||||
* Reference: https://scotthelme.co.uk/hsts-cheat-sheet/
|
||||
*/
|
||||
|
||||
Prism.languages.hsts = {
|
||||
'directive': {
|
||||
pattern: /\b(?:max-age=|includeSubDomains|preload)/,
|
||||
alias: 'keyword'
|
||||
},
|
||||
'safe': {
|
||||
pattern: /\d{8,}/,
|
||||
alias: 'selector'
|
||||
},
|
||||
'unsafe': {
|
||||
pattern: /\d{0,7}/,
|
||||
alias: 'function'
|
||||
}
|
||||
};
|
Reference in New Issue
Block a user