Frontend uudelleenrakennettu: Astro-komponentit, Wasm pääsäikeessä, ei Workeria
Vanha frontend siirretty temp/. Uusi rakenne: - StatusBar.astro, Terminal.astro, Editor.astro, Guide.astro - global.css erillinen - Wasm pääsäikeessä (ei Worker — yksinkertainen, debugattava) - Tab-completion, dropdown, projektikortti, Monaco, GUIDE.md - Ei tokenisointia eikä koodilaboratoriota Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
29
network-poc/frontend/node_modules/prismjs/components/prism-bbcode.js
generated
vendored
Normal file
29
network-poc/frontend/node_modules/prismjs/components/prism-bbcode.js
generated
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
Prism.languages.bbcode = {
|
||||
'tag': {
|
||||
pattern: /\[\/?[^\s=\]]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))?(?:\s+[^\s=\]]+\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))*\s*\]/,
|
||||
inside: {
|
||||
'tag': {
|
||||
pattern: /^\[\/?[^\s=\]]+/,
|
||||
inside: {
|
||||
'punctuation': /^\[\/?/
|
||||
}
|
||||
},
|
||||
'attr-value': {
|
||||
pattern: /=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+)/,
|
||||
inside: {
|
||||
'punctuation': [
|
||||
/^=/,
|
||||
{
|
||||
pattern: /^(\s*)["']|["']$/,
|
||||
lookbehind: true
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
'punctuation': /\]/,
|
||||
'attr-name': /[^\s=\]]+/
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Prism.languages.shortcode = Prism.languages.bbcode;
|
||||
Reference in New Issue
Block a user