Files
dealplustech/node_modules/prismjs/components/prism-dns-zone-file.js
Kunthawat Greethong 6562a1748f fix: Fix product page syntax errors
1. Remove duplicate/broken code in product tables section
2. Fix PostCSS config for Tailwind 4
3. Add @tailwindcss/postcss dependency
4. Remove --production flag from Dockerfile (sharp required)

All fixes enable successful Docker build with favicon working.
2026-03-03 14:57:46 +07:00

34 lines
1.0 KiB
JavaScript

Prism.languages['dns-zone-file'] = {
'comment': /;.*/,
'string': {
pattern: /"(?:\\.|[^"\\\r\n])*"/,
greedy: true
},
'variable': [
{
pattern: /(^\$ORIGIN[ \t]+)\S+/m,
lookbehind: true,
},
{
pattern: /(^|\s)@(?=\s|$)/,
lookbehind: true,
}
],
'keyword': /^\$(?:INCLUDE|ORIGIN|TTL)(?=\s|$)/m,
'class': {
// https://tools.ietf.org/html/rfc1035#page-13
pattern: /(^|\s)(?:CH|CS|HS|IN)(?=\s|$)/,
lookbehind: true,
alias: 'keyword'
},
'type': {
// https://en.wikipedia.org/wiki/List_of_DNS_record_types
pattern: /(^|\s)(?:A|A6|AAAA|AFSDB|APL|ATMA|CAA|CDNSKEY|CDS|CERT|CNAME|DHCID|DLV|DNAME|DNSKEY|DS|EID|GID|GPOS|HINFO|HIP|IPSECKEY|ISDN|KEY|KX|LOC|MAILA|MAILB|MB|MD|MF|MG|MINFO|MR|MX|NAPTR|NB|NBSTAT|NIMLOC|NINFO|NS|NSAP|NSAP-PTR|NSEC|NSEC3|NSEC3PARAM|NULL|NXT|OPENPGPKEY|PTR|PX|RKEY|RP|RRSIG|RT|SIG|SINK|SMIMEA|SOA|SPF|SRV|SSHFP|TA|TKEY|TLSA|TSIG|TXT|UID|UINFO|UNSPEC|URI|WKS|X25)(?=\s|$)/,
lookbehind: true,
alias: 'keyword'
},
'punctuation': /[()]/
};
Prism.languages['dns-zone'] = Prism.languages['dns-zone-file'];