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
9
static/highlight/languages/nestedtext.min.js
vendored
Normal file
9
static/highlight/languages/nestedtext.min.js
vendored
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
/*! `nestedtext` grammar compiled for Highlight.js 11.11.1 */
|
||||
(()=>{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)})();
|
||||
Loading…
Reference in a new issue