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

22
node_modules/prismjs/components/prism-tap.js generated vendored Normal file
View file

@ -0,0 +1,22 @@
// https://en.wikipedia.org/wiki/Test_Anything_Protocol
Prism.languages.tap = {
'fail': /not ok[^#{\n\r]*/,
'pass': /ok[^#{\n\r]*/,
'pragma': /pragma [+-][a-z]+/,
'bailout': /bail out!.*/i,
'version': /TAP version \d+/i,
'plan': /\b\d+\.\.\d+(?: +#.*)?/,
'subtest': {
pattern: /# Subtest(?:: .*)?/,
greedy: true
},
'punctuation': /[{}]/,
'directive': /#.*/,
'yamlish': {
pattern: /(^[ \t]*)---[\s\S]*?[\r\n][ \t]*\.\.\.$/m,
lookbehind: true,
inside: Prism.languages.yaml,
alias: 'language-yaml'
}
};