lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_html.json in gollum-3.1.2 vs lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_html.json in gollum-3.1.3
- old
+ new
@@ -1,150 +1,63 @@
-[
- {
- "state": "start",
- "data": [
- [ "meta.tag", "<" ],
- [ "meta.tag.tag-name", "html" ],
- [ "meta.tag", ">" ]
- ]
- },
- {
- "state": "start",
- "data": [
- [ "text", " " ],
- [ "meta.tag", "<" ],
- [ "meta.tag.tag-name", "head" ],
- [ "meta.tag", ">" ]
- ]
- },
- {
- "state": "start",
- "data": []
- },
- {
- "state": "css-start",
- "data": [
- [ "text", " " ],
- [ "meta.tag", "<" ],
- [ "meta.tag.tag-name.style", "style" ],
- [ "text", " " ],
- [ "entity.other.attribute-name", "type" ],
- [ "keyword.operator", "=" ],
- [ "string", "\"text/css\"" ],
- [ "meta.tag", ">" ]
- ]
- },
- {
- "state": "css-ruleset",
- "data": [
- [ "text", " " ],
- [ "variable", ".text-layer" ],
- [ "text", " " ],
- [ "paren.lparen", "{" ]
- ]
- },
- {
- "state": "css-ruleset",
- "data": [
- [ "text", " " ],
- [ "support.type", "font-family" ],
- [ "text", ": Monaco, " ],
- [ "string", "\"Courier New\"" ],
- [ "text", ", " ],
- [ "support.constant.fonts", "monospace" ],
- [ "text", ";" ]
- ]
- },
- {
- "state": "css-ruleset",
- "data": [
- [ "text", " " ],
- [ "support.type", "font-size" ],
- [ "text", ": " ],
- [ "constant.numeric", "12" ],
- [ "keyword", "px" ],
- [ "text", ";" ]
- ]
- },
- {
- "state": "css-ruleset",
- "data": [
- [ "text", " " ],
- [ "support.type", "cursor" ],
- [ "text", ": " ],
- [ "support.constant", "text" ],
- [ "text", ";" ]
- ]
- },
- {
- "state": "css-start",
- "data": [
- [ "text", " " ],
- [ "paren.rparen", "}" ]
- ]
- },
- {
- "state": "start",
- "data": [
- [ "text", " " ],
- [ "meta.tag", "</" ],
- [ "meta.tag.tag-name.style", "style" ],
- [ "meta.tag", ">" ]
- ]
- },
- {
- "state": "start",
- "data": []
- },
- {
- "state": "start",
- "data": [
- [ "text", " " ],
- [ "meta.tag", "</" ],
- [ "meta.tag.tag-name", "head" ],
- [ "meta.tag", ">" ]
- ]
- },
- {
- "state": "start",
- "data": [
- [ "text", " " ],
- [ "meta.tag", "<" ],
- [ "meta.tag.tag-name", "body" ],
- [ "meta.tag", ">" ]
- ]
- },
- {
- "state": "start",
- "data": [
- [ "text", " " ],
- [ "meta.tag", "<" ],
- [ "meta.tag.tag-name", "h1" ],
- [ "text", " " ],
- [ "entity.other.attribute-name", "style" ],
- [ "keyword.operator", "=" ],
- [ "string", "\"color:red\"" ],
- [ "meta.tag", ">" ],
- [ "text", "Juhu Kinners" ],
- [ "meta.tag", "</" ],
- [ "meta.tag.tag-name", "h1" ],
- [ "meta.tag", ">" ]
- ]
- },
- {
- "state": "start",
- "data": [
- [ "text", " " ],
- [ "meta.tag", "</" ],
- [ "meta.tag.tag-name", "body" ],
- [ "meta.tag", ">" ]
- ]
- },
- {
- "state": "start",
- "data": [
- [ "meta.tag", "</" ],
- [ "meta.tag.tag-name", "html" ],
- [ "meta.tag", ">" ]
- ]
- }
-]
+[[
+ "start",
+ ["meta.tag.punctuation.tag-open.xml","<"],
+ ["meta.tag.tag-name.xml","html"],
+ ["meta.tag.punctuation.tag-close.xml",">"]
+],[
+ "start",
+ ["meta.tag.punctuation.tag-open.xml","<"],
+ ["meta.tag.tag-name.xml","scripts"],
+ ["meta.tag.punctuation.tag-close.xml",">"]
+],[
+ "start",
+ ["meta.tag.punctuation.tag-open.xml","<"],
+ ["meta.tag.script.tag-name.xml","script"],
+ ["text.tag-whitespace.xml"," "],
+ ["entity.other.attribute-name.xml","a"],
+ ["keyword.operator.attribute-equals.xml","="],
+ ["string.attribute-value.xml","'a'"],
+ ["meta.tag.punctuation.tag-close.xml",">"],
+ ["storage.type","var"],
+ ["text"," "],
+ ["string","\"</scripts>"],
+ ["meta.tag.punctuation.end-tag-open.xml","</"],
+ ["meta.tag.script.tag-name.xml","script"],
+ ["meta.tag.punctuation.tag-close.xml",">"],
+ ["text.xml","'123'"]
+],[
+ "start",
+ ["meta.tag.punctuation.end-tag-open.xml","</"],
+ ["meta.tag.tag-name.xml","scripts"],
+ ["meta.tag.punctuation.tag-close.xml",">"]
+],[
+ ["string.attribute-value.xml0","tag_stuff"],
+ ["meta.tag.punctuation.tag-open.xml","<"],
+ ["meta.tag.anchor.tag-name.xml","a"],
+ ["text.tag-whitespace.xml"," "],
+ ["entity.other.attribute-name.xml","href"],
+ ["keyword.operator.attribute-equals.xml","="],
+ ["string.attribute-value.xml","\"abc"]
+],[
+ "start",
+ ["string.attribute-value.xml"," def\""],
+ ["meta.tag.punctuation.tag-close.xml",">"]
+],[
+ ["string.attribute-value.xml","tag_stuff"],
+ ["meta.tag.punctuation.tag-open.xml","<"],
+ ["meta.tag.anchor.tag-name.xml","a"],
+ ["text.tag-whitespace.xml"," "],
+ ["entity.other.attribute-name.xml","href"],
+ ["keyword.operator.attribute-equals.xml","="],
+ ["string.attribute-value.xml","'abc"]
+],[
+ "start",
+ ["string.attribute-value.xml","def\\'"],
+ ["meta.tag.punctuation.tag-close.xml",">"]
+],[
+ "start"
+],[
+ "start",
+ ["meta.tag.punctuation.end-tag-open.xml","</"],
+ ["meta.tag.tag-name.xml","html"],
+ ["meta.tag.punctuation.tag-close.xml",">"]
+]]
\ No newline at end of file