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',
},
},
},
tag: {
// Preceded by level and optional pointer
pattern:
/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?)\w+/m,
lookbehind: true,
alias: 'string',
},
level: {
pattern: /(^[\t ]*)\d+/m,
lookbehind: true,
alias: 'number',
},
pointer: {
pattern: /@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@/,
alias: 'variable',
},
};
='main'>index : www.armandphilippot.com
|
| The frontend of my personal website. | Armand Philippot |
blob: 769460f1724ace2d61cf988cad1482f1bf7d6d54 (
plain)