mirror of
https://codeberg.org/nobody/LocalCDN.git
synced 2025-06-05 21:49:31 +02:00
highlight.js v11.6.0 -> v11.7.0 (#1222)
This commit is contained in:
9
resources/highlight.js/11.7.0/nestedtext.min.jsm
Normal file
9
resources/highlight.js/11.7.0/nestedtext.min.jsm
Normal file
@@ -0,0 +1,9 @@
|
||||
/*! `nestedtext` grammar compiled for Highlight.js 11.7.0 */
|
||||
(()=>{var t=(()=>{"use strict";return t=>({name:"Nested Text",aliases:["nt"],
|
||||
contains:[t.inherit(t.HASH_COMMENT_MODE,{begin:/^\s*(?=#)/,excludeBegin:!0}),{
|
||||
variants:[{match:[/^\s*/,/-/,/[ ]/,/.*$/]},{match:[/^\s*/,/-$/]}],className:{
|
||||
2:"bullet",4:"string"}},{match:[/^\s*/,/>/,/[ ]/,/.*$/],className:{
|
||||
2:"punctuation",4:"string"}},{match:[/^\s*(?=\S)/,/[^:]+/,/:\s*/,/$/],
|
||||
className:{2:"attribute",3:"punctuation"}},{
|
||||
match:[/^\s*(?=\S)/,/[^:]*[^: ]/,/[ ]*:/,/[ ]/,/.*$/],className:{2:"attribute",
|
||||
3:"punctuation",5:"string"}}]})})();hljs.registerLanguage("nestedtext",t)})();
|
Reference in New Issue
Block a user