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:
28
network-poc/frontend/node_modules/prismjs/components/prism-gedcom.js
generated
vendored
Normal file
28
network-poc/frontend/node_modules/prismjs/components/prism-gedcom.js
generated
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
Prism.languages.gedcom = {
|
||||
'line-value': {
|
||||
// Preceded by level, optional pointer, and tag
|
||||
pattern: /(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?\w+ ).+/m,
|
||||
lookbehind: true,
|
||||
inside: {
|
||||
'pointer': {
|
||||
pattern: /^@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@$/,
|
||||
alias: 'variable'
|
||||
}
|
||||
}
|
||||
},
|
||||
'record': {
|
||||
// Preceded by level and optional pointer
|
||||
pattern: /(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?)\w+/m,
|
||||
lookbehind: true,
|
||||
alias: 'tag'
|
||||
},
|
||||
'level': {
|
||||
pattern: /(^[\t ]*)\d+/m,
|
||||
lookbehind: true,
|
||||
alias: 'number'
|
||||
},
|
||||
'pointer': {
|
||||
pattern: /@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@/,
|
||||
alias: 'variable'
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user