!(function (e) {
var n = /\$(?:\w[a-z\d]*(?:_[^\x00-\x1F\s"'\\()$]*)?|\{[^}\s"'\\]+\})/i;
Prism.languages.nginx = {
comment: { pattern: /(^|[\s{};])#.*/, lookbehind: !0, greedy: !0 },
directive: {
pattern:
/(^|\s)\w(?:[^;{}"'\\\s]|\\.|"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*'|\s+(?:#.*(?!.)|(?![#\s])))*?(?=\s*[;{])/,
lookbehind: !0,
greedy: !0,
inside: {
string: {
pattern:
/((?:^|[^\\])(?:\\\\)*)(?:"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*')/,
lookbehind: !0,
greedy: !0,
inside: {
escape: { pattern: /\\["'\\nrt]/, alias: 'entity' },
variable: n,
},
},
comment: { pattern: /(\s)#.*/, lookbehind: !0, greedy: !0 },
keyword: { pattern: /^\S+/, greedy: !0 },
boolean: { pattern: /(\s)(?:off|on)(?!\S)/, lookbehind: !0 },
number: { pattern: /(\s)\d+[a-z]*(?!\S)/i, lookbehind: !0 },
variable: n,
},
},
punctuation: /[{};]/,
};
})();
submit();'>
| The frontend of my personal website. | Armand Philippot |
blob: 9172cf2914ca6791372a1c71aa79384498944c53 (
plain)