1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
| module.exports = function(hljs) {
| return {
| case_insensitive: false,
| lexemes: '[a-zA-Z][a-zA-Z0-9_-]*',
| keywords: {
| keyword: 'base-uri child-src connect-src default-src font-src form-action' +
| ' frame-ancestors frame-src img-src media-src object-src plugin-types' +
| ' report-uri sandbox script-src style-src',
| },
| contains: [
| {
| className: 'string',
| begin: "'", end: "'"
| },
| {
| className: 'attribute',
| begin: '^Content', end: ':', excludeEnd: true,
| },
| ]
| };
| };
|
|