{ "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" } ] }, "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" } ] }, "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" } ] } ] } } } ] }, "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,}[ _]*$" } ] }, "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" } ] } } } ] }, "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" } ] } } } ] }, "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" } ] } ] }, "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" } ] } ] }, "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" } } } ] }, "github-inlines": { "patterns": [ { "match": "(?<=^|\\s|\"|'|\\(|\\[)((#|GH-)(\\d+))(?=[\\s\"'\\.,;:\\)\\]]|$)", "captures": { "1": { "name": "reference.gfm.variable.md" }, "2": { "name": "punctuation.md" }, "3": { "name": "issue.gfm.md" } } }, { "match": "(?)", "captures": { "1": { "name": "punctuation.md" }, "3": { "name": "punctuation.md" } } } ] }, "emphasis": { "patterns": [ { "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" } } } ] }, "link-label": { "patterns": [ { "name": "label.link.string.md", "match": "^(\\*?\\[\\^?)(.*)(\\])$", "captures": { "1": { "name": "punctuation.md" }, "2": { "patterns": [ { "include": "#references" } ] }, "3": { "name": "punctuation.md" } } } ] }, "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" } } } ] }, "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" } } } ] }, "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" } } } ] }, "liquid": { "patterns": [ { "include": "text.html.liquid" } ] }, "references": { "patterns": [ { "match": "(?x) (?<=^|\\s|\"|'|\\(|\\[) ( (-?@) ( [a-zA-Z0-9_] [a-zA-Z0-9_:.#$%&+?<>~/-]* (?|/|-]) ) )", "captures": { "2": { "name": "punctuation.md" } }, "name": "reference.variable.md" } ] }, "todo": { "patterns": [ { "match": "(?))", "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" } ] } ] } ] } } }