Dustin Wilson
3 years ago
78 changed files with 2744 additions and 35 deletions
@ -0,0 +1,136 @@ |
|||
{ |
|||
"name": "Lua", |
|||
"scopeName": "source.lua", |
|||
"type": "tree-sitter", |
|||
"parser": "tree-sitter-lua", |
|||
|
|||
"fileTypes": [ "lua" ], |
|||
|
|||
"folds": [ |
|||
{ |
|||
"type": [ |
|||
"do_statement", |
|||
"while_statement", |
|||
"repeat_statement", |
|||
"for_statement", |
|||
"for_in_statement", |
|||
"function", |
|||
"local_function", |
|||
"function_definition", |
|||
"table" |
|||
], |
|||
"end": { "index": -1 } |
|||
}, |
|||
{ |
|||
"type": ["if_statement","elseif"], |
|||
"start": { "index": 1 }, |
|||
"end": { "type": [ "else", "elseif" ] } |
|||
}, |
|||
{ |
|||
"type": "if_statement", |
|||
"start": { "index": 1 }, |
|||
"end": { "index": -1 } |
|||
}, |
|||
{ |
|||
"type": "elseif", |
|||
"start": { "index": 1 } |
|||
}, |
|||
{ |
|||
"type": "else", |
|||
"start": { "index": 0 } |
|||
} |
|||
], |
|||
|
|||
"comments": { |
|||
"start": "-- " |
|||
}, |
|||
|
|||
"scopes": { |
|||
"program": "source.lua", |
|||
|
|||
"comment": "comment", |
|||
"string": "string", |
|||
"number": "constant.numeric", |
|||
|
|||
"function > function_name > identifier": "entity.name.function", |
|||
"function > function_name > property_identifier": "entity.name.function", |
|||
"function > function_name > method": "entity.name.function", |
|||
"function > parameters > identifier": "variable.parameter", |
|||
|
|||
"local_function > identifier": "entity.name.function", |
|||
"local_function > parameters > identifier": "variable.parameter", |
|||
|
|||
"function_call > identifier": "entity.name.function", |
|||
"function_call > property_identifier": "entity.name.function", |
|||
"function_call > method": "entity.name.function", |
|||
|
|||
"function_definition > parameters > identifier": "variable.parameter", |
|||
|
|||
"self": "variable.language", |
|||
"next": "entity.name.function", |
|||
"spread": "variable.parameter", |
|||
"global_variable": "variable.language", |
|||
|
|||
"nil": "constant.language.nil", |
|||
"true": "constant.language.boolean", |
|||
"false": "constant.language.boolean", |
|||
|
|||
"'local'": "storage.modifier", |
|||
"'function'": "storage.type.function", |
|||
"label_statement": "storage.type.label", |
|||
|
|||
"'{'": "punctuation.definition.table.begin", |
|||
"'}'": "punctuation.definition.table.end", |
|||
"'('": "punctuation.definition.parameters.begin", |
|||
"')'": "punctuation.definition.parameters.end", |
|||
|
|||
"'do'": "keyword.control", |
|||
"'return'": "keyword.control", |
|||
"'if'": "keyword.control", |
|||
"'then'": "keyword.control", |
|||
"'elseif'": "keyword.control", |
|||
"'else'": "keyword.control", |
|||
"'while'": "keyword.control", |
|||
"'repeat'": "keyword.control", |
|||
"'until'": "keyword.control", |
|||
"'for'": "keyword.control", |
|||
"'in'": "keyword.control", |
|||
"'goto'": "keyword.control", |
|||
"'end'": "keyword.control", |
|||
|
|||
"'or'": "keyword.operator.logical", |
|||
"'and'": "keyword.operator.logical", |
|||
"'not'": "keyword.operator.logical", |
|||
"'|'": "keyword.operator.logical", |
|||
"'&'": "keyword.operator.logical", |
|||
"'~'": "keyword.operator.logical", |
|||
|
|||
"'='": "keyword.operator.assignment", |
|||
|
|||
"'<'": "keyword.operator.comparison", |
|||
"'<='": "keyword.operator.comparison", |
|||
"'=='": "keyword.operator.comparison", |
|||
"'~='": "keyword.operator.comparison", |
|||
"'>='": "keyword.operator.comparison", |
|||
"'>'": "keyword.operator.comparison", |
|||
|
|||
"'<<'": "keyword.operator.arithmetic.bitwise", |
|||
"'>>'": "keyword.operator.arithmetic.bitwise", |
|||
"'+'": "keyword.operator.arithmetic", |
|||
"'-'": "keyword.operator.arithmetic", |
|||
"'*'": "keyword.operator.arithmetic", |
|||
"'/'": "keyword.operator.arithmetic", |
|||
"'//'": "keyword.operator.arithmetic", |
|||
"'%'": "keyword.operator.arithmetic", |
|||
|
|||
"'..'": "keyword.operator.arithmetic", |
|||
"'^'": "keyword.operator.arithmetic", |
|||
|
|||
"'#'": "keyword.operator.arithmetic", |
|||
|
|||
"'.'": "punctuation.separator.object", |
|||
"','": "punctuation.separator.object", |
|||
"':'": "punctuation.separator.method", |
|||
"';'": "punctuation.separator.statement" |
|||
} |
|||
} |
@ -0,0 +1,216 @@ |
|||
{ |
|||
"scopeName": "fenced-code.md", |
|||
"list": [ |
|||
{ |
|||
"pattern": "apib|apiblueprint", |
|||
"include": "text.html.markdown.source.gfm.apib", |
|||
"contentName": "source.embedded.gfm.apib" |
|||
}, |
|||
{ |
|||
"pattern": "ass" |
|||
}, |
|||
{ |
|||
"pattern": "babel", |
|||
"include": "source.js.jsx", |
|||
"contentName": "source.embedded.js.jsx" |
|||
}, |
|||
{ |
|||
"pattern": "coffee|coffeescript|coffee-script", |
|||
"include": "source.coffee", |
|||
"contentName": "source.embedded.coffee" |
|||
}, |
|||
{ |
|||
"pattern": "c" |
|||
}, |
|||
{ |
|||
"pattern": "clean" |
|||
}, |
|||
{ |
|||
"pattern": "clojure" |
|||
}, |
|||
{ |
|||
"pattern": "cpp|c\\+\\+", |
|||
"include": "source.cpp", |
|||
"contentName": "source.embedded.cpp" |
|||
}, |
|||
{ |
|||
"pattern": "cr|crystal", |
|||
"include": "source.crystal", |
|||
"contentName": "source.embedded.crystal" |
|||
}, |
|||
{ |
|||
"pattern": "cs|csharp", |
|||
"include": "source.cs", |
|||
"contentName": "source.embedded.cs" |
|||
}, |
|||
{ |
|||
"pattern": "css" |
|||
}, |
|||
{ |
|||
"pattern": "diff|patch|rej", |
|||
"include": "source.diff", |
|||
"contentName": "source.embedded.diff" |
|||
}, |
|||
{ |
|||
"pattern": "elixir" |
|||
}, |
|||
{ |
|||
"pattern": "elm" |
|||
}, |
|||
{ |
|||
"pattern": "erlang" |
|||
}, |
|||
{ |
|||
"pattern": "go|golang", |
|||
"include": "source.go", |
|||
"contentName": "source.embedded.go" |
|||
}, |
|||
{ |
|||
"pattern": "haskell" |
|||
}, |
|||
{ |
|||
"pattern": "hcl" |
|||
}, |
|||
{ |
|||
"pattern": "html", |
|||
"include": "text.html.basic", |
|||
"contentName": "source.embedded.html" |
|||
}, |
|||
{ |
|||
"pattern": "idris" |
|||
}, |
|||
{ |
|||
"pattern": "java" |
|||
}, |
|||
{ |
|||
"pattern": "javascript|js|jsx", |
|||
"include": "source.js", |
|||
"contentName": "source.embedded.js" |
|||
}, |
|||
{ |
|||
"pattern": "json|har", |
|||
"include": "source.json", |
|||
"contentName": "source.embedded.json" |
|||
}, |
|||
{ |
|||
"pattern": "julia|julia-repl", |
|||
"include": "source.julia", |
|||
"contentName": "source.embedded.julia" |
|||
}, |
|||
{ |
|||
"pattern": "kotlin|kt|kts", |
|||
"include": "source.kotlin", |
|||
"contentName": "source.embedded.kotlin" |
|||
}, |
|||
{ |
|||
"pattern": "latex|tex", |
|||
"include": "text.tex.latex", |
|||
"contentName": "text.embedded.latex" |
|||
}, |
|||
{ |
|||
"pattern": "less", |
|||
"include": "source.css.less", |
|||
"contentName": "source.embedded.css.less" |
|||
}, |
|||
{ |
|||
"pattern": "lua" |
|||
}, |
|||
{ |
|||
"pattern": "make|makefile", |
|||
"include": "source.makefile", |
|||
"contentName": "source.embedded.makefile" |
|||
}, |
|||
{ |
|||
"pattern": "markdown|mdown|md", |
|||
"include": "text.md", |
|||
"contentName": "text.embedded.md" |
|||
}, |
|||
{ |
|||
"pattern": "m|mathematica", |
|||
"include": "source.mathematica", |
|||
"contentName": "source.embedded.mathematica" |
|||
}, |
|||
{ |
|||
"pattern": "mermaid" |
|||
}, |
|||
{ |
|||
"pattern": "mson", |
|||
"include": "text.html.markdown.source.gfm.mson", |
|||
"contentName": "source.embedded.mson" |
|||
}, |
|||
{ |
|||
"pattern": "objc|objective-c", |
|||
"include": "source.objc", |
|||
"contentName": "source.embedded.objc" |
|||
}, |
|||
{ |
|||
"pattern": "php", |
|||
"include": "text.html.php", |
|||
"contentName": "source.embedded.text.html.php" |
|||
}, |
|||
{ |
|||
"pattern": "py|python", |
|||
"include": "source.python", |
|||
"contentName": "source.embedded.python" |
|||
}, |
|||
{ |
|||
"pattern": "r" |
|||
}, |
|||
{ |
|||
"pattern": "ruby" |
|||
}, |
|||
{ |
|||
"pattern": "rust|rs", |
|||
"include": "source.rust", |
|||
"contentName": "source.embedded.rust" |
|||
}, |
|||
{ |
|||
"pattern": "sas" |
|||
}, |
|||
{ |
|||
"pattern": "sass" |
|||
}, |
|||
{ |
|||
"pattern": "scss", |
|||
"include": "source.css.scss", |
|||
"contentName": "source.embedded.css.scss" |
|||
}, |
|||
{ |
|||
"pattern": "sh|bash", |
|||
"include": "source.shell", |
|||
"contentName": "source.embedded.shell" |
|||
}, |
|||
{ |
|||
"pattern": "shellsession|console", |
|||
"include": "text.shell-session", |
|||
"contentName": "text.embedded.shell-session" |
|||
}, |
|||
{ |
|||
"pattern": "sql" |
|||
}, |
|||
{ |
|||
"pattern": "stata" |
|||
}, |
|||
{ |
|||
"pattern": "swift" |
|||
}, |
|||
{ |
|||
"pattern": "ts|typescript", |
|||
"include": "source.ts", |
|||
"contentName": "source.embedded.ts" |
|||
}, |
|||
{ |
|||
"pattern": "xml", |
|||
"include": "text.xml", |
|||
"contentName": "text.embedded.xml" |
|||
}, |
|||
{ |
|||
"pattern": "yaml" |
|||
}, |
|||
{ |
|||
"pattern": "[a-zA-Z0-9-_]+", |
|||
"include": "source", |
|||
"contentName": "source.embedded" |
|||
} |
|||
] |
|||
} |
@ -0,0 +1,119 @@ |
|||
{ |
|||
"key": "source.embedded.text.html.php - (meta.embedded | meta.tag), L:source.embedded.text.html.php meta.tag, L:embedded.source.js.embedded.html", |
|||
"patterns": [ |
|||
{ |
|||
"begin": "(^\\s*)(?=<\\?(?![^?]*\\?>))", |
|||
"beginCaptures": { |
|||
"0": { |
|||
"name": "punctuation.whitespace.embedded.leading.php" |
|||
} |
|||
}, |
|||
"end": "(?!\\G)(\\s*$)?", |
|||
"endCaptures": { |
|||
"0": { |
|||
"name": "punctuation.whitespace.embedded.trailing.php" |
|||
} |
|||
}, |
|||
"patterns": [ |
|||
{ |
|||
"begin": "<\\?(?i:php|=)?", |
|||
"beginCaptures": { |
|||
"0": { |
|||
"name": "punctuation.section.embedded.begin.php" |
|||
} |
|||
}, |
|||
"contentName": "source.php", |
|||
"end": "(\\?)>", |
|||
"endCaptures": { |
|||
"0": { |
|||
"name": "punctuation.section.embedded.end.php" |
|||
}, |
|||
"1": { |
|||
"name": "source.php" |
|||
} |
|||
}, |
|||
"name": "meta.embedded.block.php", |
|||
"patterns": [ |
|||
{ |
|||
"include": "text.html.php#language" |
|||
} |
|||
] |
|||
} |
|||
] |
|||
}, |
|||
{ |
|||
"begin": "<\\?(?i:php|=)?(?![^?]*\\?>)", |
|||
"beginCaptures": { |
|||
"0": { |
|||
"name": "punctuation.section.embedded.begin.php" |
|||
} |
|||
}, |
|||
"contentName": "source.php", |
|||
"end": "(\\G)>", |
|||
"endCaptures": { |
|||
"0": { |
|||
"name": "punctuation.section.embedded.end.php" |
|||
}, |
|||
"1": { |
|||
"name": "source.php" |
|||
} |
|||
}, |
|||
"name": "meta.embedded.block.php", |
|||
"patterns": [ |
|||
{ |
|||
"include": "text.html.php#language" |
|||
} |
|||
] |
|||
}, |
|||
{ |
|||
"begin": "<\\?(?i:php|=)?", |
|||
"beginCaptures": { |
|||
"0": { |
|||
"name": "punctuation.section.embedded.begin.php" |
|||
} |
|||
}, |
|||
"end": ">", |
|||
"endCaptures": { |
|||
"0": { |
|||
"name": "punctuation.section.embedded.end.php" |
|||
} |
|||
}, |
|||
"name": "meta.embedded.line.php", |
|||
"patterns": [ |
|||
{ |
|||
"captures": { |
|||
"1": { |
|||
"name": "source.php" |
|||
}, |
|||
"2": { |
|||
"name": "punctuation.section.embedded.end.php" |
|||
}, |
|||
"3": { |
|||
"name": "source.php" |
|||
} |
|||
}, |
|||
"match": "\\G(\\s*)((\\?))(?=>)", |
|||
"name": "meta.special.empty-tag.php" |
|||
}, |
|||
{ |
|||
"begin": "\\G", |
|||
"contentName": "source.php", |
|||
"end": "(\\?)(?=>)", |
|||
"endCaptures": { |
|||
"0": { |
|||
"name": "punctuation.section.embedded.end.php" |
|||
}, |
|||
"1": { |
|||
"name": "source.php" |
|||
} |
|||
}, |
|||
"patterns": [ |
|||
{ |
|||
"include": "text.html.php#language" |
|||
} |
|||
] |
|||
} |
|||
] |
|||
} |
|||
] |
|||
} |
@ -0,0 +1,37 @@ |
|||
{ |
|||
"key": "fenced-code", |
|||
"patterns": [ |
|||
{ |
|||
"begin": "^\\s{0,3}([`]{3,})$", |
|||
"beginCaptures": { |
|||
"1": { |
|||
"name": "punctuation.md" |
|||
} |
|||
}, |
|||
"end": "^\\s{0,3}(\\1)$", |
|||
"endCaptures": { |
|||
"1": { |
|||
"name": "punctuation.md" |
|||
} |
|||
}, |
|||
"name": "fenced.code.md", |
|||
"contentName": "source.embedded" |
|||
}, |
|||
{ |
|||
"begin": "^\\s{0,3}([~]{3,})$", |
|||
"beginCaptures": { |
|||
"1": { |
|||
"name": "punctuation.md" |
|||
} |
|||
}, |
|||
"end": "^\\s{0,3}(\\1)$", |
|||
"endCaptures": { |
|||
"1": { |
|||
"name": "punctuation.md" |
|||
} |
|||
}, |
|||
"name": "fenced.code.md", |
|||
"contentName": "source.embedded" |
|||
} |
|||
] |
|||
} |
@ -0,0 +1,259 @@ |
|||
{ |
|||
"key": "headings", |
|||
"patterns": [ |
|||
{ |
|||
"match": "^(?:[ ]{0,3})((?:#{1,6})\\s*(?:#*)\\s*)$", |
|||
"name": "empty.heading.markup.md", |
|||
"captures": { |
|||
"1": { |
|||
"patterns": [ |
|||
{ |
|||
"match": "^(#{6})\\s*(#*)\\s*$", |
|||
"name": "heading-6.md", |
|||
"captures": { |
|||
"1": { |
|||
"name": "punctuation.md" |
|||
}, |
|||
"2": { |
|||
"name": "punctuation.md" |
|||
} |
|||
} |
|||
}, |
|||
{ |
|||
"match": "^(#{5})\\s*(#*)\\s*$", |
|||
"name": "heading-5.md", |
|||
"captures": { |
|||
"1": { |
|||
"name": "punctuation.md" |
|||
}, |
|||
"2": { |
|||
"name": "punctuation.md" |
|||
} |
|||
} |
|||
}, |
|||
{ |
|||
"match": "^(#{4})\\s*(#*)\\s*$", |
|||
"name": "heading-4.md", |
|||
"captures": { |
|||
"1": { |
|||
"name": "punctuation.md" |
|||
}, |
|||
"2": { |
|||
"name": "punctuation.md" |
|||
} |
|||
} |
|||
}, |
|||
{ |
|||
"match": "^(#{3})\\s*(#*)\\s*$", |
|||
"name": "heading-3.md", |
|||
"captures": { |
|||
"1": { |
|||
"name": "punctuation.md" |
|||
}, |
|||
"2": { |
|||
"name": "punctuation.md" |
|||
} |
|||
} |
|||
}, |
|||
{ |
|||
"match": "^(#{2})\\s*(#*)\\s*$", |
|||
"name": "heading-2.md", |
|||
"captures": { |
|||
"1": { |
|||
"name": "punctuation.md" |
|||
}, |
|||
"2": { |
|||
"name": "punctuation.md" |
|||
} |
|||
} |
|||
}, |
|||
{ |
|||
"match": "^(#{1})\\s*(#*)\\s*$", |
|||
"name": "heading-1.md", |
|||
"captures": { |
|||
"1": { |
|||
"name": "punctuation.md" |
|||
}, |
|||
"2": { |
|||
"name": "punctuation.md" |
|||
} |
|||
} |
|||
} |
|||
] |
|||
} |
|||
} |
|||
}, |
|||
{ |
|||
"match": "^((?: {0,3})(?:#{1,6})(?: +)(?:.+))$", |
|||
"name": "heading.markup.md", |
|||
"captures": { |
|||
"1": { |
|||
"patterns": [ |
|||
{ |
|||
"begin": "^(?: {0,3})(#{1})(?: +)", |
|||
"end": "(?: ){1}(#*)(?:\\s*)(?:(\\{[[:ascii:]]*\\}))?$", |
|||
"name": "heading-1.md", |
|||
"beginCaptures": { |
|||
"1": { |
|||
"name": "punctuation.md" |
|||
} |
|||
}, |
|||
"endCaptures": { |
|||
"1": { |
|||
"name": "punctuation.md" |
|||
}, |
|||
"2": { |
|||
"patterns": [ |
|||
{ |
|||
"include": "#special-attributes" |
|||
} |
|||
] |
|||
} |
|||
}, |
|||
"patterns": [ |
|||
{ |
|||
"include": "#inlines-in-blocks" |
|||
} |
|||
] |
|||
}, |
|||
{ |
|||
"begin": "^(?: {0,3})(#{2})(?: +)", |
|||
"end": "(?: ){1}(#*)(?:\\s*)(?:(\\{[[:ascii:]]*\\}))?$", |
|||
"name": "heading-2.md", |
|||
"beginCaptures": { |
|||
"1": { |
|||
"name": "punctuation.md" |
|||
} |
|||
}, |
|||
"endCaptures": { |
|||
"1": { |
|||
"name": "punctuation.md" |
|||
}, |
|||
"2": { |
|||
"patterns": [ |
|||
{ |
|||
"include": "#special-attributes" |
|||
} |
|||
] |
|||
} |
|||
}, |
|||
"patterns": [ |
|||
{ |
|||
"include": "#inlines-in-blocks" |
|||
} |
|||
] |
|||
}, |
|||
{ |
|||
"begin": "^(?: {0,3})(#{3})(?: +)", |
|||
"end": "(?: ){1}(#*)(?:\\s*)(?:(\\{[[:ascii:]]*\\}))?$", |
|||
"name": "heading-3.md", |
|||
"beginCaptures": { |
|||
"1": { |
|||
"name": "punctuation.md" |
|||
} |
|||
}, |
|||
"endCaptures": { |
|||
"1": { |
|||
"name": "punctuation.md" |
|||
}, |
|||
"2": { |
|||
"patterns": [ |
|||
{ |
|||
"include": "#special-attributes" |
|||
} |
|||
] |
|||
} |
|||
}, |
|||
"patterns": [ |
|||
{ |
|||
"include": "#inlines-in-blocks" |
|||
} |
|||
] |
|||
}, |
|||
{ |
|||
"begin": "^(?: {0,3})(#{4})(?: +)", |
|||
"end": "(?: ){1}(#*)(?:\\s*)(?:(\\{[[:ascii:]]*\\}))?$", |
|||
"name": "heading-4.md", |
|||
"beginCaptures": { |
|||
"1": { |
|||
"name": "punctuation.md" |
|||
} |
|||
}, |
|||
"endCaptures": { |
|||
"1": { |
|||
"name": "punctuation.md" |
|||
}, |
|||
"2": { |
|||
"patterns": [ |
|||
{ |
|||
"include": "#special-attributes" |
|||
} |
|||
] |
|||
} |
|||
}, |
|||
"patterns": [ |
|||
{ |
|||
"include": "#inlines-in-blocks" |
|||
} |
|||
] |
|||
}, |
|||
{ |
|||
"begin": "^(?: {0,3})(#{5})(?: +)", |
|||
"end": "(?: ){1}(#*)(?:\\s*)(?:(\\{[[:ascii:]]*\\}))?$", |
|||
"name": "heading-5.md", |
|||
"beginCaptures": { |
|||
"1": { |
|||
"name": "punctuation.md" |
|||
} |
|||
}, |
|||
"endCaptures": { |
|||
"1": { |
|||
"name": "punctuation.md" |
|||
}, |
|||
"2": { |
|||
"patterns": [ |
|||
{ |
|||
"include": "#special-attributes" |
|||
} |
|||
] |
|||
} |
|||
}, |
|||
"patterns": [ |
|||
{ |
|||
"include": "#inlines-in-blocks" |
|||
} |
|||
] |
|||
}, |
|||
{ |
|||
"begin": "^(?: {0,3})(#{6})(?: +)", |
|||
"end": "(?: ){1}(#*)(?:\\s*)(?:(\\{[[:ascii:]]*\\}))?$", |
|||
"name": "heading-6.md", |
|||
"beginCaptures": { |
|||
"1": { |
|||
"name": "punctuation.md" |
|||
} |
|||
}, |
|||
"endCaptures": { |
|||
"1": { |
|||
"name": "punctuation.md" |
|||
}, |
|||
"2": { |
|||
"patterns": [ |
|||
{ |
|||
"include": "#special-attributes" |
|||
} |
|||
] |
|||
} |
|||
}, |
|||
"patterns": [ |
|||
{ |
|||
"include": "#inlines-in-blocks" |
|||
} |
|||
] |
|||
} |
|||
] |
|||
} |
|||
} |
|||
} |
|||
] |
|||
} |
@ -0,0 +1,17 @@ |
|||
{ |
|||
"key": "hr", |
|||
"patterns": [ |
|||
{ |
|||
"name": "hr.constant.md", |
|||
"match": "^[ ]{0,3}[-]{1,} *[-]{1,} *[-]{1,}[ -]*$" |
|||
}, |
|||
{ |
|||
"name": "hr.constant.md", |
|||
"match": "^[ ]{0,3}[*]{1,} *[*]{1,} *[*]{1,}[ *]*$" |
|||
}, |
|||
{ |
|||
"name": "hr.constant.md", |
|||
"match": "^[ ]{0,3}[_]{1,} *[_]{1,} *[_]{1,}[ _]*$" |
|||
} |
|||
] |
|||
} |
@ -0,0 +1,155 @@ |
|||
{ |
|||
"key": "lists", |
|||
"patterns": [ |
|||
{ |
|||
"match": "^(?:\\s*)([-+\\*] \\[ \\]\\s?)$", |
|||
"name": "empty.task.unordered.list.markup.md", |
|||
"captures": { |
|||
"1": { |
|||
"name": "punctuation.md" |
|||
} |
|||
} |
|||
}, |
|||
{ |
|||
"match": "^(?:\\s*)([0-9]{1,9}[\\.\\)] \\[ \\]\\s)$", |
|||
"name": "empty.task.ordered.list.markup.md", |
|||
"captures": { |
|||
"1": { |
|||
"name": "punctuation.md" |
|||
} |
|||
} |
|||
}, |
|||
{ |
|||
"match": "^(?:\\s*)([-+\\*]{1}\\s?)$", |
|||
"name": "empty.unordered.list.markup.md", |
|||
"captures": { |
|||
"1": { |
|||
"name": "punctuation.md" |
|||
} |
|||
} |
|||
}, |
|||
{ |
|||
"match": "^(?:\\s*)([0-9]{1,9}[\\.\\)]\\s?)$", |
|||
"name": "empty.ordered.list.markup.md", |
|||
"captures": { |
|||
"1": { |
|||
"name": "punctuation.md" |
|||
} |
|||
} |
|||
}, |
|||
{ |
|||
"match": "^(?:\\s*)([-+\\*] \\[ \\]\\s)(.*)$", |
|||
"name": "task.unordered.list.markup.md", |
|||
"captures": { |
|||
"1": { |
|||
"name": "punctuation.md" |
|||
}, |
|||
"2": { |
|||
"patterns": [ |
|||
{ |
|||
"include": "#blocks" |
|||
}, |
|||
{ |
|||
"include": "#inlines-in-blocks" |
|||
} |
|||
] |
|||
} |
|||
} |
|||
}, |
|||
{ |
|||
"match": "^(?:\\s*)([0-9]{1,9}[\\.\\)] \\[ \\]\\s)(.*)$", |
|||
"name": "task.ordered.list.markup.md", |
|||
"captures": { |
|||
"1": { |
|||
"name": "punctuation.md" |
|||
}, |
|||
"2": { |
|||
"patterns": [ |
|||
{ |
|||
"include": "#blocks" |
|||
}, |
|||
{ |
|||
"include": "#inlines-in-blocks" |
|||
} |
|||
] |
|||
} |
|||
} |
|||
}, |
|||
{ |
|||
"match": "^(?:\\s*)([-+\\*] \\[[xX]\\]\\s)(.*)$", |
|||
"name": "completed.task.unordered.list.markup.md", |
|||
"captures": { |
|||
"1": { |
|||
"name": "punctuation.md" |
|||
}, |
|||
"2": { |
|||
"patterns": [ |
|||
{ |
|||
"include": "#blocks" |
|||
}, |
|||
{ |
|||
"include": "#inlines-in-blocks" |
|||
} |
|||
] |
|||
} |
|||
} |
|||
}, |
|||
{ |
|||
"match": "^(?:\\s*)([0-9]{1,9}[\\.\\)] \\[[xX]\\]\\s)(.*)$", |
|||
"name": "completed.task.ordered.list.markup.md", |
|||
"captures": { |
|||
"1": { |
|||
"name": "punctuation.md" |
|||
}, |
|||
"2": { |
|||
"patterns": [ |
|||
{ |
|||
"include": "#blocks" |
|||
}, |
|||
{ |
|||
"include": "#inlines-in-blocks" |
|||
} |
|||
] |
|||
} |
|||
} |
|||
}, |
|||
{ |
|||
"match": "^(?:\\s*)([-+\\*]{1}\\s)(.*)$", |
|||
"name": "unordered.list.markup.md", |
|||
"captures": { |
|||
"1": { |
|||
"name": "punctuation.md" |
|||
}, |
|||
"2": { |
|||
"patterns": [ |
|||
{ |
|||
"include": "#blocks" |
|||
}, |
|||
{ |
|||
"include": "#inlines-in-blocks" |
|||
} |
|||
] |
|||
} |
|||
} |
|||
}, |
|||
{ |
|||
"match": "^(?:\\s*)([0-9]{1,9}[\\.\\)]\\s)(.*)$", |
|||
"name": "ordered.list.markup.md", |
|||
"captures": { |
|||
"1": { |
|||
"name": "punctuation.md" |
|||
}, |
|||
"2": { |
|||
"patterns": [ |
|||
{ |
|||
"include": "#blocks" |
|||
}, |
|||
{ |
|||
"include": "#inlines-in-blocks" |
|||
} |
|||
] |
|||
} |
|||
} |
|||
} |
|||
] |
|||
} |
@ -0,0 +1,24 @@ |
|||
{ |
|||
"key": "quotes", |
|||
"patterns": [ |
|||
{ |
|||
"match": "^(?: {0,3})(>){1}(?: ){0,1}(.*)$", |
|||
"name": "quote.markup.md", |
|||
"captures": { |
|||
"1": { |
|||
"name": "punctuation.md" |
|||
}, |
|||
"2": { |
|||
"patterns": [ |
|||
{ |
|||
"include": "#blocks" |
|||
}, |
|||
{ |
|||
"include": "#inlines-in-blocks" |
|||
} |
|||
] |
|||
} |
|||
} |
|||
} |
|||
] |
|||
} |
@ -0,0 +1,120 @@ |
|||
{ |
|||
"key": "criticmark", |
|||
"patterns": [ |
|||
{ |
|||
"name": "addition.critic.inserted.markup.md", |
|||
"begin": "({\\+\\+)", |
|||
"beginCaptures": { |
|||
"1": { |
|||
"name": "punctuation.md" |
|||
} |
|||
}, |
|||
"end": "(\\+\\+})", |
|||
"endCaptures": { |
|||
"1": { |
|||
"name": "punctuation.md" |
|||
} |
|||
}, |
|||
"patterns": [ |
|||
{ |
|||
"include": "#emphasis" |
|||
} |
|||
] |
|||
}, |
|||
{ |
|||
"name": "deletion.critic.deleted.markup.md", |
|||
"begin": "({--)", |
|||
"beginCaptures": { |
|||
"1": { |
|||
"name": "punctuation.md" |
|||
} |
|||
}, |
|||
"end": "(--})", |
|||
"endCaptures": { |
|||
"1": { |
|||
"name": "punctuation.md" |
|||
} |
|||
}, |
|||
"patterns": [ |
|||
{ |
|||
"include": "#emphasis" |
|||
} |
|||
] |
|||
}, |
|||
{ |
|||
"name": "highlight.critic.changed.markup.md", |
|||
"begin": "({==)", |
|||
"beginCaptures": { |
|||
"1": { |
|||
"name": "punctuation.md" |
|||
} |
|||
}, |
|||
"end": "(==})", |
|||
"endCaptures": { |
|||
"1": { |
|||
"name": "punctuation.md" |
|||
} |
|||
}, |
|||
"patterns": [ |
|||
{ |
|||
"include": "#emphasis" |
|||
} |
|||
] |
|||
}, |
|||
{ |
|||
"name": "comment.critic.markup.md", |
|||
"begin": "({>>)", |
|||
"beginCaptures": { |
|||
"1": { |
|||
"name": "punctuation.md" |
|||
} |
|||
}, |
|||
"patterns": [ |
|||
{ |
|||
"match": "(?<=[\\s|>])((@)(\\w[-\\w:]*))(?=[\\s|:|<])", |
|||
"captures": { |
|||
"1": { |
|||
"name": "username.reference.variable.md" |
|||
}, |
|||
"2": { |
|||
"name": "punctuation.md" |
|||
} |
|||
} |
|||
}, |
|||
{ |
|||
"include": "#emphasis" |
|||
} |
|||
], |
|||
"end": "(<<})", |
|||
"endCaptures": { |
|||
"1": { |
|||
"name": "punctuation.md" |
|||
} |
|||
} |
|||
}, |
|||
{ |
|||
"name": "substitution.critic.inserted.markup.md", |
|||
"begin": "({~~)", |
|||
"beginCaptures": { |
|||
"1": { |
|||
"name": "punctuation.md" |
|||
} |
|||
}, |
|||
"end": "(~~})", |
|||
"endCaptures": { |
|||
"1": { |
|||
"name": "punctuation.md" |
|||
} |
|||
}, |
|||
"patterns": [ |
|||
{ |
|||
"match": "~>", |
|||
"name": "punctuation.md" |
|||
}, |
|||
{ |
|||
"include": "#emphasis" |
|||
} |
|||
] |
|||
} |
|||
] |
|||
} |
@ -0,0 +1,65 @@ |
|||
{ |
|||
"key": "front-matter", |
|||
"patterns": [ |
|||
{ |
|||
"begin": "\\A---$", |
|||
"beginCaptures": { |
|||
"0": { |
|||
"name": "hr.constant.md" |
|||
} |
|||
}, |
|||
"end": "^(---|\\.\\.\\.)$", |
|||
"endCaptures": { |
|||
"1": { |
|||
"name": "hr.constant.md" |
|||
} |
|||
}, |
|||
"name": "front-matter.yaml.source.md", |
|||
"patterns": [ |
|||
{ |
|||
"include": "source.yaml" |
|||
} |
|||
] |
|||
}, |
|||
{ |
|||
"begin": "\\A\\+\\+\\+$", |
|||
"beginCaptures": { |
|||
"0": { |
|||
"name": "hr.constant.md" |
|||
} |
|||
}, |
|||
"end": "^\\+\\+\\+$", |
|||
"endCaptures": { |
|||
"0": { |
|||
"name": "hr.constant.md" |
|||
} |
|||
}, |
|||
"name": "front-matter.toml.source.md", |
|||
"patterns": [ |
|||
{ |
|||
"include": "source.toml" |
|||
} |
|||
] |
|||
}, |
|||
{ |
|||
"begin": "\\A;{3}$", |
|||
"beginCaptures": { |
|||
"0": { |
|||
"name": "hr.constant.md" |
|||
} |
|||
}, |
|||
"end": "^;{3}$", |
|||
"endCaptures": { |
|||
"0": { |
|||
"name": "hr.constant.md" |
|||
} |
|||
}, |
|||
"name": "front-matter.json.source.md", |
|||
"patterns": [ |
|||
{ |
|||
"include": "source.json" |
|||
} |
|||
] |
|||
} |
|||
] |
|||
} |
@ -0,0 +1,58 @@ |
|||
{ |
|||
"key": "github-blocks", |
|||
"patterns": [ |
|||
{ |
|||
"name": "table.storage.md", |
|||
"match": "^(\\|(?= |:|-)[ |:-]*?)(\\|?)$", |
|||
"captures": { |
|||
"1": { |
|||
"patterns": [ |
|||
{ |
|||
"match": "(\\|)(?: ?)(:?)(-+)(:?)(?: ?)(?=\\|| |$)", |
|||
"captures": { |
|||
"1": { |
|||
"name": "vertical.punctuation.md" |
|||
}, |
|||
"2": { |
|||
"name": "alignment.punctuation.md" |
|||
}, |
|||
"3": { |
|||
"name": "horizontal.punctuation.md" |
|||
}, |
|||
"4": { |
|||
"name": "alignment.punctuation.md" |
|||
} |
|||
} |
|||
} |
|||
] |
|||
}, |
|||
"2": { |
|||
"name": "vertical.punctuation.md" |
|||
} |
|||
} |
|||
}, |
|||
{ |
|||
"name": "table.storage.md", |
|||
"match": "^(\\|)(?= )(.+)$", |
|||
"captures": { |
|||
"1": { |
|||
"name": "vertical.punctuation.md" |
|||
}, |
|||
"2": { |
|||
"patterns": [ |
|||
{ |
|||
"match": "(?<= )\\|(?=$| )", |
|||
"name": "vertical.punctuation.md" |
|||
}, |
|||
{ |
|||
"include": "#inlines-in-blocks" |
|||
} |
|||
] |
|||
}, |
|||
"3": { |
|||
"name": "punctuation.md" |
|||
} |
|||
} |
|||
} |
|||
] |
|||
} |
File diff suppressed because one or more lines are too long
@ -0,0 +1,45 @@ |
|||
{ |
|||
"key": "ia-writer", |
|||
"patterns": [ |
|||
{ |
|||
"match": "(?x) ^\\s{0,3}( (/)([^'\"()]*?) (\\.[a-z0-9]+) (\\s*?) ((\"|')[^'\"]*?(\\7))? )$", |
|||
"captures": { |
|||
"1": { |
|||
"name": "block.content.link.markup.md" |
|||
}, |
|||
"2": { |
|||
"name": "punctuation.md" |
|||
}, |
|||
"6": { |
|||
"name": "title.string.markup.md" |
|||
}, |
|||
"7": { |
|||
"name": "punctuation.md" |
|||
}, |
|||
"8": { |
|||
"name": "punctuation.md" |
|||
} |
|||
} |
|||
}, |
|||
{ |
|||
"match": "(?x) ^\\s{0,3}( (/)([^'\"()]*?) (\\.[a-z0-9]+) (\\s*?) ((\\()[^()]*?(\\)))? )$", |
|||
"captures": { |
|||
"1": { |
|||
"name": "block.content.link.markup.md" |
|||
}, |
|||
"2": { |
|||
"name": "punctuation.md" |
|||
}, |
|||
"6": { |
|||
"name": "title.string.markup.md" |
|||
}, |
|||
"7": { |
|||
"name": "punctuation.md" |
|||
}, |
|||
"8": { |
|||
"name": "punctuation.md" |
|||
} |
|||
} |
|||
} |
|||
] |
|||
} |
@ -0,0 +1,30 @@ |
|||
{ |
|||
"key": "markdown-extra", |
|||
"patterns": [ |
|||
{ |
|||
"name": "definition.list.markup.md", |
|||
"match": "^(?:\\s*)(:)( +)(.*)$", |
|||
"captures": { |
|||
"1": { |
|||
"name": "punctuation.md" |
|||
} |
|||
} |
|||
}, |
|||
{ |
|||
"name": "abbreviation.reference.link.markup.md", |
|||
"match": "^((?:\\*\\[)(?:[^\\]]+)(?:\\]))(:) (.*)$", |
|||
"captures": { |
|||
"1": { |
|||
"patterns": [ |
|||
{ |
|||
"include": "#link-label" |
|||
} |
|||
] |
|||
}, |
|||
"2": { |
|||
"name": "punctuation.md" |
|||
} |
|||
} |
|||
} |
|||
] |
|||
} |
@ -0,0 +1,25 @@ |
|||
{ |
|||
"key": "math-block", |
|||
"patterns": [ |
|||
{ |
|||
"name": "block.math.markup.md", |
|||
"begin": "(\\${2})", |
|||
"end": "(\\${2})(?:.*)", |
|||
"patterns": [ |
|||
{ |
|||
"include": "text.tex.latex" |
|||
} |
|||
], |
|||
"beginCaptures": { |
|||
"1": { |
|||
"name": "punctuation.md" |
|||
} |
|||
}, |
|||
"endCaptures": { |
|||
"1": { |
|||
"name": "punctuation.md" |
|||
} |
|||
} |
|||
} |
|||
] |
|||
} |
@ -0,0 +1,24 @@ |
|||
{ |
|||
"key": "math-inline", |
|||
"patterns": [ |
|||
{ |
|||
"name": "inline.math.markup.md", |
|||
"match": "(\\$)(?! )(.+?)(?<! )(\\$)(?!\\d)", |
|||
"captures": { |
|||
"1": { |
|||
"name": "punctuation.md" |
|||
}, |
|||
"2": { |
|||
"patterns": [ |
|||
{ |
|||
"include": "text.tex.latex" |
|||
} |
|||
] |
|||
}, |
|||
"3": { |
|||
"name": "punctuation.md" |
|||
} |
|||
} |
|||
} |
|||
] |
|||
} |
@ -0,0 +1,23 @@ |
|||
{ |
|||
"key": "pandoc", |
|||
"patterns": [ |
|||
{ |
|||
"name": "table.storage.md", |
|||
"match": "^(\\+-+)+\\+$", |
|||
"captures": { |
|||
"0": { |
|||
"name": "punctuation.md" |
|||
} |
|||
} |
|||
}, |
|||
{ |
|||
"name": "table.storage.md", |
|||
"match": "^(\\+=+)+\\+$", |
|||
"captures": { |
|||
"0": { |
|||
"name": "punctuation.md" |
|||
} |
|||
} |
|||
} |
|||
] |
|||
} |
@ -0,0 +1,56 @@ |
|||
{ |
|||
"key": "rmarkdown-attributes", |
|||
"patterns": [ |
|||
{ |
|||
"match": "(?x) (?#<=^|,|,\\s) ([A-Za-z0-9\\.]+) (?:\\s?) (=) (?:\\s?) (TRUE|FALSE)", |
|||
"name": "rmarkdown.attribute.meta.md", |
|||
"captures": { |
|||
"1": { |
|||
"name": "key.keyword.md" |
|||
}, |
|||
"2": { |
|||
"name": "punctuation.md" |
|||
}, |
|||
"3": { |
|||
"name": "value.constant.md" |
|||
} |
|||
} |
|||
}, |
|||
{ |
|||
"match": "(?x) (?#<=^|,|,\\s) ([A-Za-z0-9\\.]+) (?:\\s?) (=) (?:\\s?) ([A-Za-z0-9]+)", |
|||
"name": "rmarkdown.attribute.meta.md", |
|||
"captures": { |
|||
"1": { |
|||
"name": "key.keyword.md" |
|||
}, |
|||
"2": { |
|||
"name": "punctuation.md" |
|||
}, |
|||
"3": { |
|||
"name": "value.constant.md" |
|||
} |
|||
} |
|||
}, |
|||
{ |
|||
"match": "(?x) (?#<=^|,|,\\s) ([A-Za-z0-9\\.]+) (?:\\s?) (=) (?:\\s?) ( ('|\") ([^\\4]*?) (\\4) )", |
|||
"name": "rmarkdown.attribute.meta.md", |
|||
"captures": { |
|||
"1": { |
|||
"name": "key.keyword.md" |
|||
}, |
|||
"2": { |
|||
"name": "punctuation.md" |
|||
}, |
|||
"3": { |
|||
"name": "value.string.md" |
|||
}, |
|||
"4": { |
|||
"name": "punctuation.md" |
|||
}, |
|||
"6": { |
|||
"name": "punctuation.md" |
|||
} |
|||
} |
|||
} |
|||
] |
|||
} |
@ -0,0 +1,52 @@ |
|||
{ |
|||
"key": "rmarkdown", |
|||
"patterns": [ |
|||
{ |
|||
"begin": "(?x) (```)( \\{r\\s? (.*?) \\}$ )", |
|||
"end": "^(\\1)$", |
|||
"name": "fenced.code.md", |
|||
"contentName": "source.embedded.r", |
|||
"patterns": [ |
|||
{ |
|||
"include": "source.r" |
|||
} |
|||
], |
|||
"beginCaptures": { |
|||
"1": { |
|||
"name": "punctuation.md" |
|||
}, |
|||
"2": { |
|||
"patterns": [ |
|||
{ |
|||
"begin": "(\\{)(r)(\\s?)", |
|||
"beginCaptures": { |
|||
"1": { |
|||
"name": "punctuation.md" |
|||
}, |
|||
"2": { |
|||
"name": "language.constant.md" |
|||
} |
|||
}, |
|||
"end": "(\\})$", |
|||
"endCaptures": { |
|||
"1": { |
|||
"name": "punctuation.md" |
|||
} |
|||
}, |
|||
"patterns": [ |
|||
{ |
|||
"include": "#rmarkdown-attributes" |
|||
} |
|||
] |
|||
} |
|||
] |
|||
} |
|||
}, |
|||
"endCaptures": { |
|||
"1": { |
|||
"name": "punctuation.md" |
|||
} |
|||
} |
|||
} |
|||
] |
|||
} |
@ -0,0 +1,38 @@ |
|||
{ |
|||
"key": "special-attribute-elements", |
|||
"patterns": [ |
|||
{ |
|||
"name": "id.special.attribute.meta.md", |
|||
"match": "(?<=^|\\s)(#)([^\\s|\\}]*)", |
|||
"captures": { |
|||
"1": { |
|||
"name": "punctuation.md" |
|||
} |
|||
} |
|||
}, |
|||
{ |
|||
"name": "class.special.attribute.meta.md", |
|||
"match": "(\\.)([^\\s|\\}]*)", |
|||
"captures": { |
|||
"1": { |
|||
"name": "punctuation.md" |
|||
} |
|||
} |
|||
}, |
|||
{ |
|||
"match": "([^ ]+)(=)([^\\s|\\}]*)", |
|||
"name": "other.special.attribute.meta.md", |
|||
"captures": { |
|||
"1": { |
|||
"name": "key.keyword.md" |
|||
}, |
|||
"2": { |
|||
"name": "punctuation.md" |
|||
}, |
|||
"3": { |
|||
"name": "value.string.md" |
|||
} |
|||
} |
|||
} |
|||
] |
|||
} |
@ -0,0 +1,24 @@ |
|||
{ |
|||
"key": "special-attributes", |
|||
"patterns": [ |
|||
{ |
|||
"name": "special-attributes.raw.markup.md", |
|||
"match": "^(\\{)([^\\}]*)(\\})$", |
|||
"captures": { |
|||
"1": { |
|||
"name": "punctuation.md" |
|||
}, |
|||
"2": { |
|||
"patterns": [ |
|||
{ |
|||
"include": "#special-attribute-elements" |
|||
} |
|||
] |
|||
}, |
|||
"3": { |
|||
"name": "punctuation.md" |
|||
} |
|||
} |
|||
} |
|||
] |
|||
} |
@ -0,0 +1,17 @@ |
|||
{ |
|||
"key": "code", |
|||
"patterns": [ |
|||
{ |
|||
"match": "(?<!`)(`+)(?!`).+?(?<!`)(\\1)(?!`)", |
|||
"name": "code.raw.markup.md", |
|||
"captures": { |
|||
"1": { |
|||
"name": "punctuation.md" |
|||
}, |
|||
"2": { |
|||
"name": "punctuation.md" |
|||
} |
|||
} |
|||
} |
|||
] |
|||
} |
@ -0,0 +1,18 @@ |
|||
{ |
|||
"key": "comments", |
|||
"patterns": [ |
|||
{ |
|||
"name": "comment.md", |
|||
"begin": "(<!(?:-{2,}))", |
|||
"end": "((?:-{2,})>)", |
|||
"captures": { |
|||
"1": { |
|||
"name": "punctuation.md" |
|||
}, |
|||
"3": { |
|||
"name": "punctuation.md" |
|||
} |
|||
} |
|||
} |
|||
] |
|||
} |
@ -0,0 +1,129 @@ |
|||
{ |
|||
"key": "emphasis", |
|||
"patterns": [ |
|||
{ |
|||
"match": "(?<![\\w|\\\\])([_]{2})(?!\\s)(?m:(.+?))(?<![\\s|\\\\])(\\1)(?!\\w)", |
|||
"name": "strong.emphasis.bold.markup.md", |
|||
"captures": { |
|||
"1": { |
|||
"name": "punctuation.md" |
|||
}, |
|||
"2": { |
|||
"patterns": [ |
|||
{ |
|||
"include": "#inlines-in-inlines" |
|||
} |
|||
] |
|||
}, |
|||
"3": { |
|||
"name": "punctuation.md" |
|||
} |
|||
} |
|||
}, |
|||
{ |
|||
"match": "(?<![\\w|\\\\])([\\*]{2})(?!\\s)(?m:(.+?))(?<![\\s|\\\\])(\\1)(?!\\w)", |
|||
"name": "strong.emphasis.bold.markup.md", |
|||
"captures": { |
|||
"1": { |
|||
"name": "punctuation.md" |
|||
}, |
|||
"2": { |
|||
"patterns": [ |
|||
{ |
|||
"include": "#inlines-in-inlines" |
|||
} |
|||
] |
|||
}, |
|||
"3": { |
|||
"name": "punctuation.md" |
|||
} |
|||
} |
|||
}, |
|||
{ |
|||
"match": "(?<=\\w)([\\*]{2})(?:.+?)(?<!\\W)(\\1)", |
|||
"name": "strong.emphasis.bold.markup.md", |
|||
"captures": { |
|||
"1": { |
|||
"name": "punctuation.md" |
|||
}, |
|||
"2": { |
|||
"name": "punctuation.md" |
|||
} |
|||
} |
|||
}, |
|||
{ |
|||
"match": "(?<=\\s|^)([\\*]{2})(?=\\w)(?:.+?)(\\1)(?=\\w)", |
|||
"name": "strong.emphasis.bold.markup.md", |
|||
"captures": { |
|||
"1": { |
|||
"name": "punctuation.md" |
|||
}, |
|||
"2": { |
|||
"name": "punctuation.md" |
|||
} |
|||
} |
|||
}, |
|||
{ |
|||
"match": "(?<![\\w|_|\\\\])([_])(?!\\s|\\1)(?m:(.+?))(?<![\\s|\\\\])(\\1)(?!\\w)", |
|||
"name": "emphasis.italic.markup.md", |
|||
"captures": { |
|||
"1": { |
|||
"name": "punctuation.md" |
|||
}, |
|||
"2": { |
|||
"patterns": [ |
|||
{ |
|||
"include": "#inlines-in-inlines" |
|||
} |
|||
] |
|||
}, |
|||
"3": { |
|||
"name": "punctuation.md" |
|||
} |
|||
} |
|||
}, |
|||
{ |
|||
"match": "(?<![\\w|\\*|\\\\])([\\*])(?!\\s|\\1)(?m:(.+?))(?<![\\s|\\\\])(\\1)(?!\\w)", |
|||
"name": "emphasis.italic.markup.md", |
|||
"captures": { |
|||
"1": { |
|||
"name": "punctuation.md" |
|||
}, |
|||
"2": { |
|||
"patterns": [ |
|||
{ |
|||
"include": "#inlines-in-inlines" |
|||
} |
|||
] |
|||
}, |
|||
"3": { |
|||
"name": "punctuation.md" |
|||
} |
|||
} |
|||
}, |
|||
{ |
|||
"match": "(?<=\\w)([\\*])(?:.+?)(?<!\\W)(\\1)", |
|||
"name": "emphasis.italic.markup.md", |
|||
"captures": { |
|||
"1": { |
|||
"name": "punctuation.md" |
|||
}, |
|||
"2": { |
|||
"name": "punctuation.md" |
|||
} |
|||
} |
|||
}, |
|||
{ |
|||
"match": "(?<=\\s|^)([\\*])(?=\\w)(?:.+?)(\\1)(?=\\w)", |
|||
"name": "emphasis.italic.markup.md", |
|||
"captures": { |
|||
"1": { |
|||
"name": "punctuation.md" |
|||
}, |
|||
"2": { |
|||
"name": "punctuation.md" |
|||
} |
|||
} |
|||
} |
|||
] |
|||
} |
@ -0,0 +1,45 @@ |
|||
{ |
|||
"key": "entities", |
|||
"patterns": [ |
|||
{ |
|||
"match": "(?<=^|\\s)(&)(?=$|\\s|,|!|\\?|\\.)", |
|||
"name": "ampersand.md" |
|||
}, |
|||
{ |
|||
"match": "(&)([a-zA-Z0-9]{2,32})(;)", |
|||
"name": "entity.constant.md", |
|||
"captures": { |
|||
"1": { |
|||
"name": "punctuation.md" |
|||
}, |
|||
"3": { |
|||
"name": "punctuation.md" |
|||
} |
|||
} |
|||
}, |
|||
{ |
|||
"match": "(&#)([0-9]{1,8})(;)", |
|||
"name": "entity.constant.md", |
|||
"captures": { |
|||
"1": { |
|||
"name": "punctuation.md" |
|||
}, |
|||
"3": { |
|||
"name": "punctuation.md" |
|||
} |
|||
} |
|||
}, |
|||
{ |
|||
"match": "(&#[x|X])([0-9a-fA-F]{1,8})(;)", |
|||
"name": "entity.constant.md", |
|||
"captures": { |
|||
"1": { |
|||
"name": "punctuation.md" |
|||
}, |
|||
"3": { |
|||
"name": "punctuation.md" |
|||
} |
|||
} |
|||
} |
|||
] |
|||
} |
@ -0,0 +1,9 @@ |
|||
{ |
|||
"key": "escapes", |
|||
"patterns": [ |
|||
{ |
|||
"match": "\\\\.", |
|||
"name": "escape.constant.md" |
|||
} |
|||
] |
|||
} |
@ -0,0 +1,12 @@ |
|||
{ |
|||
"key": "html", |
|||
"patterns": [ |
|||
{ |
|||
"match": "<(?![a-zA-Z!/])", |
|||
"name": "" |
|||
}, |
|||
{ |
|||
"include": "text.html.basic" |
|||
} |
|||
] |
|||
} |
@ -0,0 +1,13 @@ |
|||
{ |
|||
"key": "line-breaks", |
|||
"patterns": [ |
|||
{ |
|||
"match": "( )$", |
|||
"name": "line-break.constant.md" |
|||
}, |
|||
{ |
|||
"match": "(\\\\)$", |
|||
"name": "line-break.constant.md" |
|||
} |
|||
] |
|||
} |
@ -0,0 +1,29 @@ |
|||
{ |
|||
"key": "link-destination", |
|||
"patterns": [ |
|||
{ |
|||
"name": "destination.link.md", |
|||
"match": "^(<)(.*)(>)$", |
|||
"captures": { |
|||
"1": { |
|||
"name": "punctuation.md" |
|||
}, |
|||
"2": { |
|||
"name": "markup.underline.link" |
|||
}, |
|||
"3": { |
|||
"name": "punctuation.md" |
|||
} |
|||
} |
|||
}, |
|||
{ |
|||
"name": "destination.link.md", |
|||
"match": "(.+)", |
|||
"captures": { |
|||
"1": { |
|||
"name": "markup.underline.link" |
|||
} |
|||
} |
|||
} |
|||
] |
|||
} |
@ -0,0 +1,24 @@ |
|||
{ |
|||
"key": "link-label", |
|||
"patterns": [ |
|||
{ |
|||
"name": "label.link.string.md", |
|||
"match": "^(\\*?\\[\\^?)(.*)(\\])$", |
|||
"captures": { |
|||
"1": { |
|||
"name": "punctuation.md" |
|||
}, |
|||
"2": { |
|||
"patterns": [ |
|||
{ |
|||
"include": "#references" |
|||
} |
|||
] |
|||
}, |
|||
"3": { |
|||
"name": "punctuation.md" |
|||
} |
|||
} |
|||
} |
|||
] |
|||
} |
@ -0,0 +1,98 @@ |
|||
{ |
|||
"key": "link-text", |
|||
"patterns": [ |
|||
{ |
|||
"name": "text.link.string.md", |
|||
"match": "(?x) ^(\\[) ( ( (?:!\\[) (?:[^\\[\\]]*) (?:\\]) ) (\\() ([^ [:cntrl:]]+)? (?: (?:\\s+) ( (?:[\"'\\(]) .*? (?:[\"'\\)]) ) (?:\\s*) )? (\\)) (\\{[[:ascii:]]*\\})? ) (\\])", |
|||
"captures": { |
|||
"1": { |
|||
"name": "punctuation.md" |
|||
}, |
|||
"2": { |
|||
"name": "link.markup.md" |
|||
}, |
|||
"3": { |
|||
"patterns": [ |
|||
{ |
|||
"include": "#link-text" |
|||
} |
|||
] |
|||
}, |
|||
"4": { |
|||
"name": "punctuation.md" |
|||
}, |
|||
"5": { |
|||
"patterns": [ |
|||
{ |
|||
"include": "#link-destination" |
|||
} |
|||
] |
|||
}, |
|||
"6": { |
|||
"patterns": [ |
|||
{ |
|||
"include": "#link-title" |
|||
} |
|||
] |
|||
}, |
|||
"7": { |
|||
"name": "punctuation.md" |
|||
}, |
|||
"8": { |
|||
"patterns": [ |
|||
{ |
|||
"include": "#special-attributes" |
|||
} |
|||
] |
|||
}, |
|||
"9": { |
|||
"name": "punctuation.md" |
|||
} |
|||
} |
|||
}, |
|||
{ |
|||
"name": "image.link.string.md", |
|||
"match": "^(!\\[)(.*)(\\])$", |
|||
"captures": { |
|||
"1": { |
|||
"name": "punctuation.md" |
|||
}, |
|||
"2": { |
|||
"patterns": [ |
|||
{ |
|||
"include": "#emphasis" |
|||
}, |
|||
{ |
|||
"include": "#code" |
|||
} |
|||
] |
|||
}, |
|||
"3": { |
|||
"name": "punctuation.md" |
|||
} |
|||
} |
|||
}, |
|||
{ |
|||
"name": "text.link.string.md", |
|||
"match": "^(\\[)(.*)(\\])$", |
|||
"captures": { |
|||
"1": { |
|||
"name": "punctuation.md" |
|||
}, |
|||
"2": { |
|||
"patterns": [ |
|||
{ |
|||
"include": "#emphasis" |
|||
}, |
|||
{ |
|||
"include": "#code" |
|||
} |
|||
] |
|||
}, |
|||
"3": { |
|||
"name": "punctuation.md" |
|||
} |
|||
} |
|||
} |
|||
] |
|||
} |
@ -0,0 +1,29 @@ |
|||
{ |
|||
"key": "link-title", |
|||
"patterns": [ |
|||
{ |
|||
"name": "title.link.md", |
|||
"match": "^(['|\"])(.*)(\\1)$", |
|||
"captures": { |
|||
"1": { |
|||
"name": "punctuation.md" |
|||
}, |
|||
"3": { |
|||
"name": "punctuation.md" |
|||
} |
|||
} |
|||
}, |
|||
{ |
|||
"name": "title.link.md", |
|||
"match": "^(\\()(.*)(\\))$", |
|||
"captures": { |
|||
"1": { |
|||
"name": "punctuation.md" |
|||
}, |
|||
"3": { |
|||
"name": "punctuation.md" |
|||
} |
|||
} |
|||
} |
|||
] |
|||
} |
@ -0,0 +1,317 @@ |
|||
{ |
|||
"key": "links", |
|||
"patterns": [ |
|||
{ |
|||
"name": "reference.footnote.link.markup.md", |
|||
"match": "((?:\\[\\^)(?:[^\\[\\]]+)(?:\\]))(?!:)", |
|||
"captures": { |
|||
"1": { |
|||
"patterns": [ |
|||
{ |
|||
"include": "#link-label" |
|||
} |
|||
] |
|||
} |
|||
} |
|||
}, |
|||
{ |
|||
"name": "definition.footnote.link.markup.md", |
|||
"match": "((?:\\[\\^)(?:[^\\[\\]]+)(?:\\]))(:)", |
|||
"captures": { |
|||
"1": { |
|||
"patterns": [ |
|||
{ |
|||
"include": "#link-label" |
|||
} |
|||
] |
|||
}, |
|||
"2": { |
|||
"name": "punctuation.md" |
|||
} |
|||
} |
|||
}, |
|||
{ |
|||
"name": "link.markup.md", |
|||
"match": "(?x) ( (?:\\[) (?: (?: (?:!\\[) (?:[^\\[\\]]*) (?:\\]) ) (?:\\() (?:[^ [:cntrl:]]+)? (?: (?:\\s+) (?: (?:[\"'\\(]) .*? (?:[\"'\\)]) ) (?:\\s*) )? (?:\\)) (?:\\{[[:ascii:]]*\\})? ) (?:\\]) ) (\\() ([^ [:cntrl:]]+)? (?: (?:\\s+) ( (?:[\"'\\(]) .*? (?:[\"'\\)]) ) (?:\\s*) )? (\\)) (\\{[^}]*\\})?", |
|||
"captures": { |
|||
"1": { |
|||
"patterns": [ |
|||
{ |
|||
"include": "#link-text" |
|||
} |
|||
] |
|||
}, |
|||
"2": { |
|||
"name": "punctuation.md" |
|||
}, |
|||
"3": { |
|||
"patterns": [ |
|||
{ |
|||
"include": "#link-destination" |
|||
} |
|||
] |
|||
}, |
|||
"4": { |
|||
"patterns": [ |
|||
{ |
|||
"include": "#link-title" |
|||
} |
|||
] |
|||
}, |
|||
"5": { |
|||
"name": "punctuation.md" |
|||
}, |
|||
"6": { |
|||
"patterns": [ |
|||
{ |
|||
"include": "#special-attributes" |
|||
} |
|||
] |
|||
} |
|||
} |
|||
}, |
|||
{ |
|||
"name": "link.markup.md", |
|||
"match": "(?x) ( (?:!?\\[) (?:[^\\[\\]]*) (?:\\]) ) (\\() ([^ [:cntrl:]()]+)? (?: (?:\\s+) ( (?:[\"'\\(]) .*? (?:[\"'\\)]) ) (?:\\s*) )? (\\)) (\\{[^}]*\\})?", |
|||
"captures": { |
|||
"1": { |
|||
"patterns": [ |
|||
{ |
|||
"include": "#link-text" |
|||
} |
|||
] |
|||
}, |
|||
"2": { |
|||
"name": "punctuation.md" |
|||
}, |
|||
"3": { |
|||
"patterns": [ |
|||
{ |
|||
"include": "#link-destination" |
|||
} |
|||
] |
|||
}, |
|||
"4": { |
|||
"patterns": [ |
|||
{ |
|||
"include": "#link-title" |
|||
} |
|||
] |
|||
}, |
|||
"5": { |
|||
"name": "punctuation.md" |
|||
}, |
|||
"6": { |
|||
"patterns": [ |
|||
{ |
|||
"include": "#special-attributes" |
|||
} |
|||
] |
|||
} |
|||
} |
|||
}, |
|||
{ |
|||
"name": "link.markup.md", |
|||
"match": "(?x) ( (?:!?\\[) (?:[^\\[\\]]*) (?:\\]) ) (\\() (<[^[:cntrl:]]*>) (?: (?:\\s+) ( (?:[\"'\\(]) .*? (?:[\"'\\)]) ) (?:\\s*) )? (\\)) (\\{[^}]*\\})?", |
|||
"captures": { |
|||
"1": { |
|||
"patterns": [ |
|||
{ |
|||
"include": "#link-text" |
|||
} |
|||
] |
|||
}, |
|||
"2": { |
|||
"name": "punctuation.md" |
|||
}, |
|||
"3": { |
|||
"patterns": [ |
|||
{ |
|||
"include": "#link-destination" |
|||
} |
|||
] |
|||
}, |
|||
"4": { |
|||
"patterns": [ |
|||
{ |
|||
"include": "#link-title" |
|||
} |
|||
] |
|||
}, |
|||
"5": { |
|||
"name": "punctuation.md" |
|||
}, |
|||
"6": { |
|||
"patterns": [ |
|||
{ |
|||
"include": "#special-attributes" |
|||
} |
|||
] |
|||
} |
|||
} |
|||
}, |
|||
{ |
|||
"name": "link.markup.md", |
|||
"match": "(?x) ( (?:\\[) (?: (?: (?:!\\[) (?:[^\\[\\]]*) (?:\\]) ) (?:\\() (?:[^ [:cntrl:]]+)? (?: (?:\\s+) (?: (?:[\"'\\(]) .*? (?:[\"'\\)]) ) (?:\\s*) )? (?:\\)) (?:\\{[[:ascii:]]*\\})? ) (?:\\]) ) ( (?:\\[) (?:[^\\[\\]]*) (?:\\]) ) (\\{[^}]*\\})?", |
|||
"captures": { |
|||
"1": { |
|||
"patterns": [ |
|||
{ |
|||
"include": "#link-text" |
|||
} |
|||
] |
|||
}, |
|||
"2": { |
|||
"patterns": [ |
|||
{ |
|||
"include": "#link-label" |
|||
} |
|||
] |
|||
}, |
|||
"3": { |
|||
"patterns": [ |
|||
{ |
|||
"include": "#special-attributes" |
|||
} |
|||
] |
|||
} |
|||
} |
|||
}, |
|||
{ |
|||
"name": "link.markup.md", |
|||
"match": "(?x) ( (?:!?\\[) (?:[^\\[\\]]*) (?:\\]) ) ( (?:\\[) (?:[^\\[\\]]*) (?:\\]) ) (\\{[^}]*\\})?", |
|||
"captures": { |
|||
"1": { |
|||
"patterns": [ |
|||
{ |
|||
"include": "#link-text" |
|||
} |
|||
] |
|||
}, |
|||
"2": { |
|||
"patterns": [ |
|||
{ |
|||
"include": "#link-label" |
|||
} |
|||
] |
|||
}, |
|||
"3": { |
|||
"patterns": [ |
|||
{ |
|||
"include": "#special-attributes" |
|||
} |
|||
] |
|||
} |
|||
} |
|||
}, |
|||
{ |
|||
"name": "link.markup.md", |
|||
"match": "(?x) ( (?:!\\[) (?:[^\\[\\]]*) (?:\\]) ) (\\{[^}]*\\})?", |
|||
"captures": { |
|||
"1": { |
|||
"patterns": [ |
|||
{ |
|||
"include": "#link-text" |
|||
} |
|||
] |
|||
}, |
|||
"2": { |
|||
"patterns": [ |
|||
{ |
|||
"include": "#special-attributes" |
|||
} |
|||
] |
|||
} |
|||
} |
|||
}, |
|||
{ |
|||
"name": "reference.link.markup.md", |
|||
"match": "(?x) ((?:\\[)(?:[^\\[\\]]*)(?:\\])) (:) (?:\\s) ([^ [:cntrl:]]+) (?:(?:\\s)((?:\")(?:.*?)(?:\")))? (?:(?:\\s)(\\{[[:ascii:]]*\\}))?", |
|||
"captures": { |
|||
"1": { |
|||
"patterns": [ |
|||
{ |
|||
"include": "#link-label" |
|||
} |
|||
] |
|||
}, |
|||
"2": { |
|||
"name": "punctuation.md" |
|||
}, |
|||
"3": { |
|||
"patterns": [ |
|||
{ |
|||
"include": "#link-destination" |
|||
} |
|||
] |
|||
}, |
|||
"4": { |
|||
"patterns": [ |
|||
{ |
|||
"include": "#link-title" |
|||
} |
|||
] |
|||
}, |
|||
"5": { |
|||
"patterns": [ |
|||
{ |
|||
"include": "#special-attributes" |
|||
} |
|||
] |
|||
} |
|||
} |
|||
}, |
|||
{ |
|||
"match": "(?x) ( (?:\\[) (?:[^\\[\\]]*) (?:\\]) ) (?!:) (\\{[^}]*\\})?", |
|||
"captures": { |
|||
"1": { |
|||
"patterns": [ |
|||
{ |
|||
"include": "#link-label" |
|||
} |
|||
] |
|||
}, |
|||
"2": { |
|||
"patterns": [ |
|||
{ |
|||
"include": "#special-attributes" |
|||
} |
|||
] |
|||
} |
|||
} |
|||
}, |
|||
{ |
|||
"name": "auto.link.markup.md", |
|||
"match": "(?i:(<)((coap|doi|javascript|aaa|aaas|about|acap|cap|cid|crid|data|dav|dict|dns|file|ftp|geo|go|gopher|h323|http|https|iax|icap|im|imap|info|ipp|iris|iris.beep|iris.xpc|iris.xpcs|iris.lwz|ldap|mailto|mid|msrp|msrps|mtqp|mupdate|news|nfs|ni|nih|nntp|opaquelocktoken|pop|pres|rtsp|service|session|shttp|sieve|sip|sips|sms|snmp|soap.beep|soap.beeps|tag|tel|telnet|tftp|thismessage|tn3270|tip|tv|urn|vemmi|ws|wss|xcon|xcon-userid|xmlrpc.beep|xmlrpc.beeps|xmpp|z39.50r|z39.50s|adiumxtra|afp|afs|aim|apt|attachment|aw|beshare|bitcoin|bolo|callto|chrome|chrome-extension|com-eventbrite-attendee|content|cvs|dlna-playsingle|dlna-playcontainer|dtn|dvb|ed2k|facetime|feed|finger|fish|gg|git|gizmoproject|gtalk|hcp|icon|ipn|irc|irc6|ircs|itms|jar|jms|keyparc|lastfm|ldaps|magnet|maps|market|message|mms|ms-help|msnim|mumble|mvn|notes|oid|palm|paparazzi|platform|proxy|psyc|query|res|resource|rmi|rsync|rtmp|secondlife|sftp|sgn|skype|smb|soldat|spotify|ssh|steam|svn|teamspeak|things|udp|unreal|ut2004|ventrilo|view-source|webcal|wtai|wyciwyg|xfire|xri|ymsgr):(?:[^ [:cntrl:]<>]+))(>))", |
|||
"captures": { |
|||
"1": { |
|||
"name": "punctuation.md" |
|||
}, |
|||
"2": { |
|||
"name": "markup.underline.link" |
|||
}, |
|||
"4": { |
|||
"name": "punctuation.md" |
|||
} |
|||
} |
|||
}, |
|||
{ |
|||
"name": "email.auto.link.markup.md", |
|||
"match": "(<)(([a-zA-Z0-9\\.!#$%&'\\*\\+/=?^_`{\\|}~-]+)(@)([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*))(>)", |
|||
"captures": { |
|||
"1": { |
|||
"name": "punctuation.md" |
|||
}, |
|||
"2": { |
|||
"name": "markup.underline.link" |
|||
}, |
|||
"4": { |
|||
"name": "punctuation.md" |
|||
}, |
|||
"6": { |
|||
"name": "punctuation.md" |
|||
} |
|||
} |
|||
} |
|||
] |
|||
} |
@ -0,0 +1,8 @@ |
|||
{ |
|||
"key": "liquid", |
|||
"patterns": [ |
|||
{ |
|||
"include": "text.html.liquid" |
|||
} |
|||
] |
|||
} |
@ -0,0 +1,14 @@ |
|||
{ |
|||
"key": "references", |
|||
"patterns": [ |
|||
{ |
|||
"match": "(?x) (?<=^|\\s|\"|'|\\(|\\[) ( (-?@) ( [a-zA-Z0-9_] [a-zA-Z0-9_:.#$%&+?<>~/-]* (?<![:|.|+|?|<|>|/|-]) ) )", |
|||
"captures": { |
|||
"2": { |
|||
"name": "punctuation.md" |
|||
} |
|||
}, |
|||
"name": "reference.variable.md" |
|||
} |
|||
] |
|||
} |
@ -0,0 +1,9 @@ |
|||
{ |
|||
"key": "todo", |
|||
"patterns": [ |
|||
{ |
|||
"match": "(?<!\\w)@?(TODO|FIXME|CHANGED|XXX|IDEA|HACK|NOTE|REVIEW|NB|BUG|QUESTION|COMBAK|TEMP)\\b", |
|||
"name": "storage.type.class.${1:/downcase}.md" |
|||
} |
|||
] |
|||
} |
@ -0,0 +1,199 @@ |
|||
{ |
|||
"name": "Markdown", |
|||
"scopeName": "text.md", |
|||
"limitLineLength": false, |
|||
"fileTypes": [ |
|||
"markdown", |
|||
"md", |
|||
"mdown", |
|||
"mkd", |
|||
"mkdown", |
|||
"rmd", |
|||
"ron", |
|||
"emdee", |
|||
"spec" |
|||
], |
|||
"patterns": [ |
|||
{ |
|||
"include": "#blocks" |
|||
}, |
|||
{ |
|||
"include": "#inlines" |
|||
}, |
|||
{ |
|||
"include": "#flavors" |
|||
} |
|||
], |
|||
"repository": { |
|||
"blocks": { |
|||
"patterns": [ |
|||
{ |
|||
"include": "#comments" |
|||
}, |
|||
{ |
|||
"include": "#front-matter" |
|||
}, |
|||
{ |
|||
"include": "#hr" |
|||
}, |
|||
{ |
|||
"include": "#headings" |
|||
}, |
|||
{ |
|||
"include": "#lists" |
|||
}, |
|||
{ |
|||
"include": "#quotes" |
|||
}, |
|||
{ |
|||
"include": "#rmarkdown" |
|||
}, |
|||
{ |
|||
"include": "#fenced-code-blocks" |
|||
}, |
|||
{ |
|||
"include": "#fenced-code" |
|||
}, |
|||
{ |
|||
"include": "#github-blocks" |
|||
}, |
|||
{ |
|||
"include": "#math-block" |
|||
} |
|||
] |
|||
}, |
|||
"inlines": { |
|||
"patterns": [ |
|||
{ |
|||
"include": "#escapes" |
|||
}, |
|||
{ |
|||
"include": "#code" |
|||
}, |
|||
{ |
|||
"include": "#entities" |
|||
}, |
|||
{ |
|||
"include": "#links" |
|||
}, |
|||
{ |
|||
"include": "#html" |
|||
}, |
|||
{ |
|||
"include": "#liquid" |
|||
}, |
|||
{ |
|||
"include": "#emphasis" |
|||
}, |
|||
{ |
|||
"include": "#line-breaks" |
|||
}, |
|||
{ |
|||
"include": "#todo" |
|||
}, |
|||
{ |
|||
"include": "#references" |
|||
}, |
|||
{ |
|||
"include": "#github-inlines" |
|||
}, |
|||
{ |
|||
"include": "#math-inline" |
|||
} |
|||
] |
|||
}, |
|||
"flavors": { |
|||
"patterns": [ |
|||
{ |
|||
"include": "#criticmark" |
|||
}, |
|||
{ |
|||
"include": "#github-inlines" |
|||
}, |
|||
{ |
|||
"include": "#markdown-extra" |
|||
}, |
|||
{ |
|||
"include": "#pandoc" |
|||
}, |
|||
{ |
|||
"include": "#ia-writer" |
|||
} |
|||
] |
|||
}, |
|||
"inlines-in-blocks": { |
|||
"patterns": [ |
|||
{ |
|||
"include": "#escapes" |
|||
}, |
|||
{ |
|||
"include": "#code" |
|||
}, |
|||
{ |
|||
"include": "#entities" |
|||
}, |
|||
{ |
|||
"include": "#links" |
|||
}, |
|||
{ |
|||
"include": "#html" |
|||
}, |
|||
{ |
|||
"include": "#liquid" |
|||
}, |
|||
{ |
|||
"include": "#emphasis" |
|||
}, |
|||
{ |
|||
"include": "#todo" |
|||
}, |
|||
{ |
|||
"include": "#references" |
|||
}, |
|||
{ |
|||
"include": "#flavors" |
|||
}, |
|||
{ |
|||
"include": "#math-inline" |
|||
} |
|||
] |
|||
}, |
|||
"inlines-in-inlines": { |
|||
"patterns": [ |
|||
{ |
|||
"include": "#escapes" |
|||
}, |
|||
{ |
|||
"include": "#code" |
|||
}, |
|||
{ |
|||
"include": "#entities" |
|||
}, |
|||
{ |
|||
"include": "#links" |
|||
}, |
|||
{ |
|||
"include": "#html" |
|||
}, |
|||
{ |
|||
"include": "#liquid" |
|||
}, |
|||
{ |
|||
"include": "#emphasis" |
|||
}, |
|||
{ |
|||
"include": "#todo" |
|||
}, |
|||
{ |
|||
"include": "#references" |
|||
}, |
|||
{ |
|||
"include": "#github-inlines" |
|||
}, |
|||
{ |
|||
"include": "#criticmark" |
|||
} |
|||
] |
|||
} |
|||
} |
|||
} |
Loading…
Reference in new issue