Son CV dans un terminal web en Javascript!
https://terminal-cv.gregandev.fr
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
731 B
38 lines
731 B
1 year ago
|
/*
|
||
|
Language: FIX
|
||
|
Author: Brent Bradbury <brent@brentium.com>
|
||
|
*/
|
||
|
|
||
|
/** @type LanguageFn */
|
||
|
function fix(hljs) {
|
||
|
return {
|
||
|
name: 'FIX',
|
||
|
contains: [{
|
||
|
begin: /[^\u2401\u0001]+/,
|
||
|
end: /[\u2401\u0001]/,
|
||
|
excludeEnd: true,
|
||
|
returnBegin: true,
|
||
|
returnEnd: false,
|
||
|
contains: [
|
||
|
{
|
||
|
begin: /([^\u2401\u0001=]+)/,
|
||
|
end: /=([^\u2401\u0001=]+)/,
|
||
|
returnEnd: true,
|
||
|
returnBegin: false,
|
||
|
className: 'attr'
|
||
|
},
|
||
|
{
|
||
|
begin: /=/,
|
||
|
end: /([\u2401\u0001])/,
|
||
|
excludeEnd: true,
|
||
|
excludeBegin: true,
|
||
|
className: 'string'
|
||
|
}
|
||
|
]
|
||
|
}],
|
||
|
case_insensitive: true
|
||
|
};
|
||
|
}
|
||
|
|
||
|
module.exports = fix;
|