]>
luflow.net public git repositories - flow-web.git/blob - static/highlight/es/languages/nestedtext.min.js
1 /*! `nestedtext` grammar compiled for Highlight.js 11.11.1 */
2 var hljsGrammar
=(()=>{"use strict";return t
=>({name:"Nested Text",
3 aliases:["nt"],contains:[t
.inherit(t
.HASH_COMMENT_MODE
,{begin:/^\s*(?=#)/,
4 excludeBegin:!0}),{variants:[{match:[/^\s*/,/-/,/[ ]/,/.*$/]},{
5 match:[/^\s*/,/-$/]}],className:{2:"bullet",4:"string"}},{
6 match:[/^\s*/,/>/,/[ ]/,/.*$/],className:{2:"punctuation",4:"string"}},{
7 match:[/^\s*(?=\S)/,/[^:]+/,/:\s*/,/$/],className:{2:"attribute",3:"punctuation"
8 }},{match:[/^\s*(?=\S)/,/[^:]*[^: ]/,/[ ]*:/,/[ ]/,/.*$/],className:{
9 2:"attribute",3:"punctuation",5:"string"}}]})})();export default hljsGrammar
;