Locally add prismjs

This commit is contained in:
Aroy-Art 2024-11-26 21:16:11 +01:00
parent 35af792c6a
commit 6aa044cf9b
Signed by: Aroy
GPG key ID: 583642324A1D2070
701 changed files with 35787 additions and 0 deletions

30
node_modules/prismjs/components/prism-linker-script.js generated vendored Normal file
View file

@ -0,0 +1,30 @@
Prism.languages['linker-script'] = {
'comment': {
pattern: /(^|\s)\/\*[\s\S]*?(?:$|\*\/)/,
lookbehind: true,
greedy: true
},
'identifier': {
pattern: /"[^"\r\n]*"/,
greedy: true
},
'location-counter': {
pattern: /\B\.\B/,
alias: 'important'
},
'section': {
pattern: /(^|[^\w*])\.\w+\b/,
lookbehind: true,
alias: 'keyword'
},
'function': /\b[A-Z][A-Z_]*(?=\s*\()/,
'number': /\b(?:0[xX][a-fA-F0-9]+|\d+)[KM]?\b/,
'operator': />>=?|<<=?|->|\+\+|--|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?/,
'punctuation': /[(){},;]/
};
Prism.languages['ld'] = Prism.languages['linker-script'];