Initial commit.
Signed-off-by: Andreas Widen <aw@luflow.net>
This commit is contained in:
commit
a4a5c7daa5
1389 changed files with 241399 additions and 0 deletions
11
static/highlight/languages/abnf.min.js
vendored
Normal file
11
static/highlight/languages/abnf.min.js
vendored
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
/*! `abnf` grammar compiled for Highlight.js 11.11.1 */
|
||||
(()=>{var e=(()=>{"use strict";return e=>{const a=e.regex,s=e.COMMENT(/;/,/$/)
|
||||
;return{name:"Augmented Backus-Naur Form",illegal:/[!@#$^&',?+~`|:]/,
|
||||
keywords:["ALPHA","BIT","CHAR","CR","CRLF","CTL","DIGIT","DQUOTE","HEXDIG","HTAB","LF","LWSP","OCTET","SP","VCHAR","WSP"],
|
||||
contains:[{scope:"operator",match:/=\/?/},{scope:"attribute",
|
||||
match:a.concat(/^[a-zA-Z][a-zA-Z0-9-]*/,/(?=\s*=)/)},s,{scope:"symbol",
|
||||
match:/%b[0-1]+(-[0-1]+|(\.[0-1]+)+)?/},{scope:"symbol",
|
||||
match:/%d[0-9]+(-[0-9]+|(\.[0-9]+)+)?/},{scope:"symbol",
|
||||
match:/%x[0-9A-F]+(-[0-9A-F]+|(\.[0-9A-F]+)+)?/},{scope:"symbol",
|
||||
match:/%[si](?=".*")/},e.QUOTE_STRING_MODE,e.NUMBER_MODE]}}})()
|
||||
;hljs.registerLanguage("abnf",e)})();
|
||||
Loading…
Reference in a new issue