Sha256: b8027fccf2331af320553eebac38e94564e221bf9359f3225644b1a0b5c3d204
Contents?: true
Size: 638 Bytes
Versions: 5
Compression:
Stored size: 638 Bytes
Contents
/*! `nestedtext` grammar compiled for Highlight.js 11.6.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)})();
Version data entries
5 entries across 5 versions & 1 rubygems