1
0
mirror of https://codeberg.org/nobody/LocalCDN.git synced 2025-02-26 16:47:41 +01:00

5 lines
289 B
JavaScript
Raw Normal View History

2021-06-08 07:40:19 +02:00
hljs.registerLanguage("bnf",(()=>{"use strict";return e=>({
name:"Backus\u2013Naur Form",contains:[{className:"attribute",begin:/</,end:/>/
},{begin:/::=/,end:/$/,contains:[{begin:/</,end:/>/
},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]
}]})})());