UNPKG

@wooorm/starry-night

Version:
1,277 lines (1,275 loc) 187 kB
// This is a TextMate grammar distributed by `starry-night`. // This grammar is developed at // <https://github.com/wooorm/markdown-tm-language> // and licensed `mit`. // See <https://github.com/wooorm/starry-night> for more info. /** * @import {Grammar} from '@wooorm/starry-night' */ /** @type {Grammar} */ const grammar = { extensions: [ '.livemd', '.markdown', '.mdown', '.mdwn', '.mkd', '.mkdn', '.mkdown', '.qmd', '.rmd', '.ronn', '.scd', '.workbook' ], names: ['markdown', 'md', 'pandoc', 'rmarkdown'], patterns: [ {include: '#markdown-frontmatter'}, {include: '#markdown-sections'} ], repository: { 'commonmark-attention': { patterns: [ { match: '(?<=\\S)\\*{3,}|\\*{3,}(?=\\S)', name: 'string.other.strong.emphasis.asterisk.md' }, { match: '(?<=[\\p{L}\\p{N}])_{3,}(?![\\p{L}\\p{N}])|(?<=\\p{P})_{3,}|(?<![\\p{L}\\p{N}]|\\p{P})_{3,}(?!\\s)', name: 'string.other.strong.emphasis.underscore.md' }, { match: '(?<=\\S)\\*{2}|\\*{2}(?=\\S)', name: 'string.other.strong.asterisk.md' }, { match: '(?<=[\\p{L}\\p{N}])_{2}(?![\\p{L}\\p{N}])|(?<=\\p{P})_{2}|(?<![\\p{L}\\p{N}]|\\p{P})_{2}(?!\\s)', name: 'string.other.strong.underscore.md' }, { match: '(?<=\\S)\\*|\\*(?=\\S)', name: 'string.other.emphasis.asterisk.md' }, { match: '(?<=[\\p{L}\\p{N}])_(?![\\p{L}\\p{N}])|(?<=\\p{P})_|(?<![\\p{L}\\p{N}]|\\p{P})_(?!\\s)', name: 'string.other.emphasis.underscore.md' } ] }, 'commonmark-autolink': { patterns: [ { captures: { 1: {name: 'string.other.begin.autolink.md'}, 2: {name: 'string.other.link.autolink.email.md'}, 3: {name: 'string.other.end.autolink.md'} }, match: "(<)((?:[0-9A-Za-z!\"#$%&'*+\\-\\/=?^_`{|}~'])+@(?:[0-9A-Za-z](?:[0-9A-Za-z-]{0,61}[0-9A-Za-z])?(?:\\.[0-9A-Za-z](?:[0-9A-Za-z-]{0,61}[A-Za-z])?)*))(>)" }, { captures: { 1: {name: 'string.other.begin.autolink.md'}, 2: {name: 'string.other.link.autolink.protocol.md'}, 3: {name: 'string.other.end.autolink.md'} }, match: '(<)((?:[A-Za-z][+\\-.0-9A-Za-z]{0,31}):[^\\p{Cc}\\ ]*?)(>)' } ] }, 'commonmark-block-quote': { begin: '(?:^|\\G)[ ]{0,3}(>)[ ]?', beginCaptures: { 0: {name: 'markup.quote.md'}, 1: {name: 'punctuation.definition.quote.begin.md'} }, name: 'markup.quote.md', patterns: [{include: '#markdown-sections'}], while: '(>)[ ]?', whileCaptures: { 0: {name: 'markup.quote.md'}, 1: {name: 'punctuation.definition.quote.begin.md'} } }, 'commonmark-character-escape': { match: '\\\\(?:[!"#$%&\'()*+,\\-.\\/:;<=>?@\\[\\\\\\]^_`{|}~])', name: 'constant.language.character-escape.md' }, 'commonmark-character-reference': { patterns: [ {include: '#whatwg-html-data-character-reference-named-terminated'}, { captures: { 1: {name: 'punctuation.definition.character-reference.begin.html'}, 2: { name: 'punctuation.definition.character-reference.numeric.html' }, 3: { name: 'punctuation.definition.character-reference.numeric.hexadecimal.html' }, 4: {name: 'constant.numeric.integer.hexadecimal.html'}, 5: {name: 'punctuation.definition.character-reference.end.html'} }, match: '(&)(#)([Xx])([0-9A-Fa-f]{1,6})(;)', name: 'constant.language.character-reference.numeric.hexadecimal.html' }, { captures: { 1: {name: 'punctuation.definition.character-reference.begin.html'}, 2: { name: 'punctuation.definition.character-reference.numeric.html' }, 3: {name: 'constant.numeric.integer.decimal.html'}, 4: {name: 'punctuation.definition.character-reference.end.html'} }, match: '(&)(#)([0-9]{1,7})(;)', name: 'constant.language.character-reference.numeric.decimal.html' } ] }, 'commonmark-code-fenced': { patterns: [ {include: '#commonmark-code-fenced-apib'}, {include: '#commonmark-code-fenced-asciidoc'}, {include: '#commonmark-code-fenced-c'}, {include: '#commonmark-code-fenced-clojure'}, {include: '#commonmark-code-fenced-coffee'}, {include: '#commonmark-code-fenced-console'}, {include: '#commonmark-code-fenced-cpp'}, {include: '#commonmark-code-fenced-cs'}, {include: '#commonmark-code-fenced-css'}, {include: '#commonmark-code-fenced-diff'}, {include: '#commonmark-code-fenced-dockerfile'}, {include: '#commonmark-code-fenced-elixir'}, {include: '#commonmark-code-fenced-elm'}, {include: '#commonmark-code-fenced-erlang'}, {include: '#commonmark-code-fenced-gitconfig'}, {include: '#commonmark-code-fenced-go'}, {include: '#commonmark-code-fenced-graphql'}, {include: '#commonmark-code-fenced-haskell'}, {include: '#commonmark-code-fenced-html'}, {include: '#commonmark-code-fenced-ini'}, {include: '#commonmark-code-fenced-java'}, {include: '#commonmark-code-fenced-js'}, {include: '#commonmark-code-fenced-json'}, {include: '#commonmark-code-fenced-julia'}, {include: '#commonmark-code-fenced-kotlin'}, {include: '#commonmark-code-fenced-less'}, {include: '#commonmark-code-fenced-less'}, {include: '#commonmark-code-fenced-lua'}, {include: '#commonmark-code-fenced-makefile'}, {include: '#commonmark-code-fenced-md'}, {include: '#commonmark-code-fenced-mdx'}, {include: '#commonmark-code-fenced-objc'}, {include: '#commonmark-code-fenced-perl'}, {include: '#commonmark-code-fenced-php'}, {include: '#commonmark-code-fenced-php'}, {include: '#commonmark-code-fenced-python'}, {include: '#commonmark-code-fenced-r'}, {include: '#commonmark-code-fenced-raku'}, {include: '#commonmark-code-fenced-ruby'}, {include: '#commonmark-code-fenced-rust'}, {include: '#commonmark-code-fenced-scala'}, {include: '#commonmark-code-fenced-scss'}, {include: '#commonmark-code-fenced-shell'}, {include: '#commonmark-code-fenced-shell-session'}, {include: '#commonmark-code-fenced-sql'}, {include: '#commonmark-code-fenced-svg'}, {include: '#commonmark-code-fenced-swift'}, {include: '#commonmark-code-fenced-toml'}, {include: '#commonmark-code-fenced-ts'}, {include: '#commonmark-code-fenced-tsx'}, {include: '#commonmark-code-fenced-vbnet'}, {include: '#commonmark-code-fenced-xml'}, {include: '#commonmark-code-fenced-yaml'}, {include: '#commonmark-code-fenced-unknown'} ] }, 'commonmark-code-fenced-apib': { patterns: [ { begin: '(?:^|\\G)[ ]{0,3}(`{3,})(?:[\\t ]*((?i:api\\x2dblueprint|(?:.*\\.)?apib))(?:[\\t ]+((?:[^\\n\\r`])+))?)(?:[\\t ]*$)', beginCaptures: { 1: {name: 'string.other.begin.code.fenced.md'}, 2: { name: 'entity.name.function.md', patterns: [{include: '#markdown-string'}] }, 3: {patterns: [{include: '#markdown-string'}]} }, end: '(?:^|\\G)[ ]{0,3}(\\1)(?:[\\t ]*$)', endCaptures: {1: {name: 'string.other.end.code.fenced.md'}}, name: 'markup.code.apib.md', patterns: [ { begin: '(^|\\G)(\\s*)(.*)', contentName: 'meta.embedded.apib', patterns: [{include: 'text.html.markdown.source.gfm.apib'}], while: '(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)' } ] }, { begin: '(?:^|\\G)[ ]{0,3}(~{3,})(?:[\\t ]*((?i:api\\x2dblueprint|(?:.*\\.)?apib))(?:[\\t ]+((?:[^\\n\\r])+))?)(?:[\\t ]*$)', beginCaptures: { 1: {name: 'string.other.begin.code.fenced.md'}, 2: { name: 'entity.name.function.md', patterns: [{include: '#markdown-string'}] }, 3: {patterns: [{include: '#markdown-string'}]} }, end: '(?:^|\\G)[ ]{0,3}(\\1)(?:[\\t ]*$)', endCaptures: {1: {name: 'string.other.end.code.fenced.md'}}, name: 'markup.code.apib.md', patterns: [ { begin: '(^|\\G)(\\s*)(.*)', contentName: 'meta.embedded.apib', patterns: [{include: 'text.html.markdown.source.gfm.apib'}], while: '(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)' } ] } ] }, 'commonmark-code-fenced-asciidoc': { patterns: [ { begin: '(?:^|\\G)[ ]{0,3}(`{3,})(?:[\\t ]*((?i:(?:.*\\.)?(?:adoc|asciidoc)))(?:[\\t ]+((?:[^\\n\\r`])+))?)(?:[\\t ]*$)', beginCaptures: { 1: {name: 'string.other.begin.code.fenced.md'}, 2: { name: 'entity.name.function.md', patterns: [{include: '#markdown-string'}] }, 3: {patterns: [{include: '#markdown-string'}]} }, end: '(?:^|\\G)[ ]{0,3}(\\1)(?:[\\t ]*$)', endCaptures: {1: {name: 'string.other.end.code.fenced.md'}}, name: 'markup.code.asciidoc.md', patterns: [ { begin: '(^|\\G)(\\s*)(.*)', contentName: 'meta.embedded.asciidoc', patterns: [{include: 'text.html.asciidoc'}], while: '(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)' } ] }, { begin: '(?:^|\\G)[ ]{0,3}(~{3,})(?:[\\t ]*((?i:(?:.*\\.)?(?:adoc|asciidoc)))(?:[\\t ]+((?:[^\\n\\r])+))?)(?:[\\t ]*$)', beginCaptures: { 1: {name: 'string.other.begin.code.fenced.md'}, 2: { name: 'entity.name.function.md', patterns: [{include: '#markdown-string'}] }, 3: {patterns: [{include: '#markdown-string'}]} }, end: '(?:^|\\G)[ ]{0,3}(\\1)(?:[\\t ]*$)', endCaptures: {1: {name: 'string.other.end.code.fenced.md'}}, name: 'markup.code.asciidoc.md', patterns: [ { begin: '(^|\\G)(\\s*)(.*)', contentName: 'meta.embedded.asciidoc', patterns: [{include: 'text.html.asciidoc'}], while: '(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)' } ] } ] }, 'commonmark-code-fenced-c': { patterns: [ { begin: '(?:^|\\G)[ ]{0,3}(`{3,})(?:[\\t ]*((?i:dtrace|dtrace\\x2dscript|oncrpc|rpc|rpcgen|unified\\x2dparallel\\x2dc|x\\x2dbitmap|x\\x2dpixmap|xdr|(?:.*\\.)?(?:c|cats|h|idc|opencl|upc|xbm|xpm|xs)))(?:[\\t ]+((?:[^\\n\\r`])+))?)(?:[\\t ]*$)', beginCaptures: { 1: {name: 'string.other.begin.code.fenced.md'}, 2: { name: 'entity.name.function.md', patterns: [{include: '#markdown-string'}] }, 3: {patterns: [{include: '#markdown-string'}]} }, end: '(?:^|\\G)[ ]{0,3}(\\1)(?:[\\t ]*$)', endCaptures: {1: {name: 'string.other.end.code.fenced.md'}}, name: 'markup.code.c.md', patterns: [ { begin: '(^|\\G)(\\s*)(.*)', contentName: 'meta.embedded.c', patterns: [{include: 'source.c'}], while: '(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)' } ] }, { begin: '(?:^|\\G)[ ]{0,3}(~{3,})(?:[\\t ]*((?i:dtrace|dtrace\\x2dscript|oncrpc|rpc|rpcgen|unified\\x2dparallel\\x2dc|x\\x2dbitmap|x\\x2dpixmap|xdr|(?:.*\\.)?(?:c|cats|h|idc|opencl|upc|xbm|xpm|xs)))(?:[\\t ]+((?:[^\\n\\r])+))?)(?:[\\t ]*$)', beginCaptures: { 1: {name: 'string.other.begin.code.fenced.md'}, 2: { name: 'entity.name.function.md', patterns: [{include: '#markdown-string'}] }, 3: {patterns: [{include: '#markdown-string'}]} }, end: '(?:^|\\G)[ ]{0,3}(\\1)(?:[\\t ]*$)', endCaptures: {1: {name: 'string.other.end.code.fenced.md'}}, name: 'markup.code.c.md', patterns: [ { begin: '(^|\\G)(\\s*)(.*)', contentName: 'meta.embedded.c', patterns: [{include: 'source.c'}], while: '(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)' } ] } ] }, 'commonmark-code-fenced-clojure': { patterns: [ { begin: '(?:^|\\G)[ ]{0,3}(`{3,})(?:[\\t ]*((?i:clojure|rouge|(?:.*\\.)?(?:boot|cl2|clj|cljc|cljs|cljs\\.hl|cljscm|cljx|edn|hic|rg|wisp)))(?:[\\t ]+((?:[^\\n\\r`])+))?)(?:[\\t ]*$)', beginCaptures: { 1: {name: 'string.other.begin.code.fenced.md'}, 2: { name: 'entity.name.function.md', patterns: [{include: '#markdown-string'}] }, 3: {patterns: [{include: '#markdown-string'}]} }, end: '(?:^|\\G)[ ]{0,3}(\\1)(?:[\\t ]*$)', endCaptures: {1: {name: 'string.other.end.code.fenced.md'}}, name: 'markup.code.clojure.md', patterns: [ { begin: '(^|\\G)(\\s*)(.*)', contentName: 'meta.embedded.clojure', patterns: [{include: 'source.clojure'}], while: '(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)' } ] }, { begin: '(?:^|\\G)[ ]{0,3}(~{3,})(?:[\\t ]*((?i:clojure|rouge|(?:.*\\.)?(?:boot|cl2|clj|cljc|cljs|cljs\\.hl|cljscm|cljx|edn|hic|rg|wisp)))(?:[\\t ]+((?:[^\\n\\r])+))?)(?:[\\t ]*$)', beginCaptures: { 1: {name: 'string.other.begin.code.fenced.md'}, 2: { name: 'entity.name.function.md', patterns: [{include: '#markdown-string'}] }, 3: {patterns: [{include: '#markdown-string'}]} }, end: '(?:^|\\G)[ ]{0,3}(\\1)(?:[\\t ]*$)', endCaptures: {1: {name: 'string.other.end.code.fenced.md'}}, name: 'markup.code.clojure.md', patterns: [ { begin: '(^|\\G)(\\s*)(.*)', contentName: 'meta.embedded.clojure', patterns: [{include: 'source.clojure'}], while: '(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)' } ] } ] }, 'commonmark-code-fenced-coffee': { patterns: [ { begin: '(?:^|\\G)[ ]{0,3}(`{3,})(?:[\\t ]*((?i:coffee\\x2dscript|coffeescript|(?:.*\\.)?(?:_coffee|cjsx|coffee|cson|em|emberscript|iced)))(?:[\\t ]+((?:[^\\n\\r`])+))?)(?:[\\t ]*$)', beginCaptures: { 1: {name: 'string.other.begin.code.fenced.md'}, 2: { name: 'entity.name.function.md', patterns: [{include: '#markdown-string'}] }, 3: {patterns: [{include: '#markdown-string'}]} }, end: '(?:^|\\G)[ ]{0,3}(\\1)(?:[\\t ]*$)', endCaptures: {1: {name: 'string.other.end.code.fenced.md'}}, name: 'markup.code.coffee.md', patterns: [ { begin: '(^|\\G)(\\s*)(.*)', contentName: 'meta.embedded.coffee', patterns: [{include: 'source.coffee'}], while: '(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)' } ] }, { begin: '(?:^|\\G)[ ]{0,3}(~{3,})(?:[\\t ]*((?i:coffee\\x2dscript|coffeescript|(?:.*\\.)?(?:_coffee|cjsx|coffee|cson|em|emberscript|iced)))(?:[\\t ]+((?:[^\\n\\r])+))?)(?:[\\t ]*$)', beginCaptures: { 1: {name: 'string.other.begin.code.fenced.md'}, 2: { name: 'entity.name.function.md', patterns: [{include: '#markdown-string'}] }, 3: {patterns: [{include: '#markdown-string'}]} }, end: '(?:^|\\G)[ ]{0,3}(\\1)(?:[\\t ]*$)', endCaptures: {1: {name: 'string.other.end.code.fenced.md'}}, name: 'markup.code.coffee.md', patterns: [ { begin: '(^|\\G)(\\s*)(.*)', contentName: 'meta.embedded.coffee', patterns: [{include: 'source.coffee'}], while: '(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)' } ] } ] }, 'commonmark-code-fenced-console': { patterns: [ { begin: '(?:^|\\G)[ ]{0,3}(`{3,})(?:[\\t ]*((?i:pycon|python\\x2dconsole))(?:[\\t ]+((?:[^\\n\\r`])+))?)(?:[\\t ]*$)', beginCaptures: { 1: {name: 'string.other.begin.code.fenced.md'}, 2: { name: 'entity.name.function.md', patterns: [{include: '#markdown-string'}] }, 3: {patterns: [{include: '#markdown-string'}]} }, end: '(?:^|\\G)[ ]{0,3}(\\1)(?:[\\t ]*$)', endCaptures: {1: {name: 'string.other.end.code.fenced.md'}}, name: 'markup.code.console.md', patterns: [ { begin: '(^|\\G)(\\s*)(.*)', contentName: 'meta.embedded.console', patterns: [{include: 'text.python.console'}], while: '(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)' } ] }, { begin: '(?:^|\\G)[ ]{0,3}(~{3,})(?:[\\t ]*((?i:pycon|python\\x2dconsole))(?:[\\t ]+((?:[^\\n\\r])+))?)(?:[\\t ]*$)', beginCaptures: { 1: {name: 'string.other.begin.code.fenced.md'}, 2: { name: 'entity.name.function.md', patterns: [{include: '#markdown-string'}] }, 3: {patterns: [{include: '#markdown-string'}]} }, end: '(?:^|\\G)[ ]{0,3}(\\1)(?:[\\t ]*$)', endCaptures: {1: {name: 'string.other.end.code.fenced.md'}}, name: 'markup.code.console.md', patterns: [ { begin: '(^|\\G)(\\s*)(.*)', contentName: 'meta.embedded.console', patterns: [{include: 'text.python.console'}], while: '(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)' } ] } ] }, 'commonmark-code-fenced-cpp': { patterns: [ { begin: '(?:^|\\G)[ ]{0,3}(`{3,})(?:[\\t ]*((?i:ags|ags\\x2dscript|asymptote|c\\+\\+|edje\\x2ddata\\x2dcollection|game\\x2dmaker\\x2dlanguage|swig|(?:.*\\.)?(?:asc|ash|asy|c\\+\\+|cc|cp|cpp|cppm|cxx|edc|gml|h\\+\\+|hh|hpp|hxx|inl|ino|ipp|ixx|metal|re|tcc|tpp|txx)))(?:[\\t ]+((?:[^\\n\\r`])+))?)(?:[\\t ]*$)', beginCaptures: { 1: {name: 'string.other.begin.code.fenced.md'}, 2: { name: 'entity.name.function.md', patterns: [{include: '#markdown-string'}] }, 3: {patterns: [{include: '#markdown-string'}]} }, end: '(?:^|\\G)[ ]{0,3}(\\1)(?:[\\t ]*$)', endCaptures: {1: {name: 'string.other.end.code.fenced.md'}}, name: 'markup.code.cpp.md', patterns: [ { begin: '(^|\\G)(\\s*)(.*)', contentName: 'meta.embedded.cpp', patterns: [{include: 'source.c++'}, {include: 'source.c++'}], while: '(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)' } ] }, { begin: '(?:^|\\G)[ ]{0,3}(~{3,})(?:[\\t ]*((?i:ags|ags\\x2dscript|asymptote|c\\+\\+|edje\\x2ddata\\x2dcollection|game\\x2dmaker\\x2dlanguage|swig|(?:.*\\.)?(?:asc|ash|asy|c\\+\\+|cc|cp|cpp|cppm|cxx|edc|gml|h\\+\\+|hh|hpp|hxx|inl|ino|ipp|ixx|metal|re|tcc|tpp|txx)))(?:[\\t ]+((?:[^\\n\\r])+))?)(?:[\\t ]*$)', beginCaptures: { 1: {name: 'string.other.begin.code.fenced.md'}, 2: { name: 'entity.name.function.md', patterns: [{include: '#markdown-string'}] }, 3: {patterns: [{include: '#markdown-string'}]} }, end: '(?:^|\\G)[ ]{0,3}(\\1)(?:[\\t ]*$)', endCaptures: {1: {name: 'string.other.end.code.fenced.md'}}, name: 'markup.code.cpp.md', patterns: [ { begin: '(^|\\G)(\\s*)(.*)', contentName: 'meta.embedded.cpp', patterns: [{include: 'source.c++'}, {include: 'source.c++'}], while: '(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)' } ] } ] }, 'commonmark-code-fenced-cs': { patterns: [ { begin: '(?:^|\\G)[ ]{0,3}(`{3,})(?:[\\t ]*((?i:beef|c#|cakescript|csharp|(?:.*\\.)?(?:bf|cake|cs|cs\\.pp|csx|eq|linq|uno)))(?:[\\t ]+((?:[^\\n\\r`])+))?)(?:[\\t ]*$)', beginCaptures: { 1: {name: 'string.other.begin.code.fenced.md'}, 2: { name: 'entity.name.function.md', patterns: [{include: '#markdown-string'}] }, 3: {patterns: [{include: '#markdown-string'}]} }, end: '(?:^|\\G)[ ]{0,3}(\\1)(?:[\\t ]*$)', endCaptures: {1: {name: 'string.other.end.code.fenced.md'}}, name: 'markup.code.cs.md', patterns: [ { begin: '(^|\\G)(\\s*)(.*)', contentName: 'meta.embedded.cs', patterns: [{include: 'source.cs'}], while: '(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)' } ] }, { begin: '(?:^|\\G)[ ]{0,3}(~{3,})(?:[\\t ]*((?i:beef|c#|cakescript|csharp|(?:.*\\.)?(?:bf|cake|cs|cs\\.pp|csx|eq|linq|uno)))(?:[\\t ]+((?:[^\\n\\r])+))?)(?:[\\t ]*$)', beginCaptures: { 1: {name: 'string.other.begin.code.fenced.md'}, 2: { name: 'entity.name.function.md', patterns: [{include: '#markdown-string'}] }, 3: {patterns: [{include: '#markdown-string'}]} }, end: '(?:^|\\G)[ ]{0,3}(\\1)(?:[\\t ]*$)', endCaptures: {1: {name: 'string.other.end.code.fenced.md'}}, name: 'markup.code.cs.md', patterns: [ { begin: '(^|\\G)(\\s*)(.*)', contentName: 'meta.embedded.cs', patterns: [{include: 'source.cs'}], while: '(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)' } ] } ] }, 'commonmark-code-fenced-css': { patterns: [ { begin: '(?:^|\\G)[ ]{0,3}(`{3,})(?:[\\t ]*((?i:(?:.*\\.)?css))(?:[\\t ]+((?:[^\\n\\r`])+))?)(?:[\\t ]*$)', beginCaptures: { 1: {name: 'string.other.begin.code.fenced.md'}, 2: { name: 'entity.name.function.md', patterns: [{include: '#markdown-string'}] }, 3: {patterns: [{include: '#markdown-string'}]} }, end: '(?:^|\\G)[ ]{0,3}(\\1)(?:[\\t ]*$)', endCaptures: {1: {name: 'string.other.end.code.fenced.md'}}, name: 'markup.code.css.md', patterns: [ { begin: '(^|\\G)(\\s*)(.*)', contentName: 'meta.embedded.css', patterns: [{include: 'source.css'}], while: '(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)' } ] }, { begin: '(?:^|\\G)[ ]{0,3}(~{3,})(?:[\\t ]*((?i:(?:.*\\.)?css))(?:[\\t ]+((?:[^\\n\\r])+))?)(?:[\\t ]*$)', beginCaptures: { 1: {name: 'string.other.begin.code.fenced.md'}, 2: { name: 'entity.name.function.md', patterns: [{include: '#markdown-string'}] }, 3: {patterns: [{include: '#markdown-string'}]} }, end: '(?:^|\\G)[ ]{0,3}(\\1)(?:[\\t ]*$)', endCaptures: {1: {name: 'string.other.end.code.fenced.md'}}, name: 'markup.code.css.md', patterns: [ { begin: '(^|\\G)(\\s*)(.*)', contentName: 'meta.embedded.css', patterns: [{include: 'source.css'}], while: '(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)' } ] } ] }, 'commonmark-code-fenced-diff': { patterns: [ { begin: '(?:^|\\G)[ ]{0,3}(`{3,})(?:[\\t ]*((?i:udiff|(?:.*\\.)?(?:diff|patch)))(?:[\\t ]+((?:[^\\n\\r`])+))?)(?:[\\t ]*$)', beginCaptures: { 1: {name: 'string.other.begin.code.fenced.md'}, 2: { name: 'entity.name.function.md', patterns: [{include: '#markdown-string'}] }, 3: {patterns: [{include: '#markdown-string'}]} }, end: '(?:^|\\G)[ ]{0,3}(\\1)(?:[\\t ]*$)', endCaptures: {1: {name: 'string.other.end.code.fenced.md'}}, name: 'markup.code.diff.md', patterns: [ { begin: '(^|\\G)(\\s*)(.*)', contentName: 'meta.embedded.diff', patterns: [{include: 'source.diff'}], while: '(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)' } ] }, { begin: '(?:^|\\G)[ ]{0,3}(~{3,})(?:[\\t ]*((?i:udiff|(?:.*\\.)?(?:diff|patch)))(?:[\\t ]+((?:[^\\n\\r])+))?)(?:[\\t ]*$)', beginCaptures: { 1: {name: 'string.other.begin.code.fenced.md'}, 2: { name: 'entity.name.function.md', patterns: [{include: '#markdown-string'}] }, 3: {patterns: [{include: '#markdown-string'}]} }, end: '(?:^|\\G)[ ]{0,3}(\\1)(?:[\\t ]*$)', endCaptures: {1: {name: 'string.other.end.code.fenced.md'}}, name: 'markup.code.diff.md', patterns: [ { begin: '(^|\\G)(\\s*)(.*)', contentName: 'meta.embedded.diff', patterns: [{include: 'source.diff'}], while: '(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)' } ] } ] }, 'commonmark-code-fenced-dockerfile': { patterns: [ { begin: '(?:^|\\G)[ ]{0,3}(`{3,})(?:[\\t ]*((?i:containerfile|(?:.*\\.)?dockerfile))(?:[\\t ]+((?:[^\\n\\r`])+))?)(?:[\\t ]*$)', beginCaptures: { 1: {name: 'string.other.begin.code.fenced.md'}, 2: { name: 'entity.name.function.md', patterns: [{include: '#markdown-string'}] }, 3: {patterns: [{include: '#markdown-string'}]} }, end: '(?:^|\\G)[ ]{0,3}(\\1)(?:[\\t ]*$)', endCaptures: {1: {name: 'string.other.end.code.fenced.md'}}, name: 'markup.code.dockerfile.md', patterns: [ { begin: '(^|\\G)(\\s*)(.*)', contentName: 'meta.embedded.dockerfile', patterns: [{include: 'source.dockerfile'}], while: '(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)' } ] }, { begin: '(?:^|\\G)[ ]{0,3}(~{3,})(?:[\\t ]*((?i:containerfile|(?:.*\\.)?dockerfile))(?:[\\t ]+((?:[^\\n\\r])+))?)(?:[\\t ]*$)', beginCaptures: { 1: {name: 'string.other.begin.code.fenced.md'}, 2: { name: 'entity.name.function.md', patterns: [{include: '#markdown-string'}] }, 3: {patterns: [{include: '#markdown-string'}]} }, end: '(?:^|\\G)[ ]{0,3}(\\1)(?:[\\t ]*$)', endCaptures: {1: {name: 'string.other.end.code.fenced.md'}}, name: 'markup.code.dockerfile.md', patterns: [ { begin: '(^|\\G)(\\s*)(.*)', contentName: 'meta.embedded.dockerfile', patterns: [{include: 'source.dockerfile'}], while: '(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)' } ] } ] }, 'commonmark-code-fenced-elixir': { patterns: [ { begin: '(?:^|\\G)[ ]{0,3}(`{3,})(?:[\\t ]*((?i:elixir|(?:.*\\.)?(?:ex|exs)))(?:[\\t ]+((?:[^\\n\\r`])+))?)(?:[\\t ]*$)', beginCaptures: { 1: {name: 'string.other.begin.code.fenced.md'}, 2: { name: 'entity.name.function.md', patterns: [{include: '#markdown-string'}] }, 3: {patterns: [{include: '#markdown-string'}]} }, end: '(?:^|\\G)[ ]{0,3}(\\1)(?:[\\t ]*$)', endCaptures: {1: {name: 'string.other.end.code.fenced.md'}}, name: 'markup.code.elixir.md', patterns: [ { begin: '(^|\\G)(\\s*)(.*)', contentName: 'meta.embedded.elixir', patterns: [{include: 'source.elixir'}], while: '(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)' } ] }, { begin: '(?:^|\\G)[ ]{0,3}(~{3,})(?:[\\t ]*((?i:elixir|(?:.*\\.)?(?:ex|exs)))(?:[\\t ]+((?:[^\\n\\r])+))?)(?:[\\t ]*$)', beginCaptures: { 1: {name: 'string.other.begin.code.fenced.md'}, 2: { name: 'entity.name.function.md', patterns: [{include: '#markdown-string'}] }, 3: {patterns: [{include: '#markdown-string'}]} }, end: '(?:^|\\G)[ ]{0,3}(\\1)(?:[\\t ]*$)', endCaptures: {1: {name: 'string.other.end.code.fenced.md'}}, name: 'markup.code.elixir.md', patterns: [ { begin: '(^|\\G)(\\s*)(.*)', contentName: 'meta.embedded.elixir', patterns: [{include: 'source.elixir'}], while: '(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)' } ] } ] }, 'commonmark-code-fenced-elm': { patterns: [ { begin: '(?:^|\\G)[ ]{0,3}(`{3,})(?:[\\t ]*((?i:(?:.*\\.)?elm))(?:[\\t ]+((?:[^\\n\\r`])+))?)(?:[\\t ]*$)', beginCaptures: { 1: {name: 'string.other.begin.code.fenced.md'}, 2: { name: 'entity.name.function.md', patterns: [{include: '#markdown-string'}] }, 3: {patterns: [{include: '#markdown-string'}]} }, end: '(?:^|\\G)[ ]{0,3}(\\1)(?:[\\t ]*$)', endCaptures: {1: {name: 'string.other.end.code.fenced.md'}}, name: 'markup.code.elm.md', patterns: [ { begin: '(^|\\G)(\\s*)(.*)', contentName: 'meta.embedded.elm', patterns: [{include: 'source.elm'}], while: '(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)' } ] }, { begin: '(?:^|\\G)[ ]{0,3}(~{3,})(?:[\\t ]*((?i:(?:.*\\.)?elm))(?:[\\t ]+((?:[^\\n\\r])+))?)(?:[\\t ]*$)', beginCaptures: { 1: {name: 'string.other.begin.code.fenced.md'}, 2: { name: 'entity.name.function.md', patterns: [{include: '#markdown-string'}] }, 3: {patterns: [{include: '#markdown-string'}]} }, end: '(?:^|\\G)[ ]{0,3}(\\1)(?:[\\t ]*$)', endCaptures: {1: {name: 'string.other.end.code.fenced.md'}}, name: 'markup.code.elm.md', patterns: [ { begin: '(^|\\G)(\\s*)(.*)', contentName: 'meta.embedded.elm', patterns: [{include: 'source.elm'}], while: '(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)' } ] } ] }, 'commonmark-code-fenced-erlang': { patterns: [ { begin: '(?:^|\\G)[ ]{0,3}(`{3,})(?:[\\t ]*((?i:erlang|(?:.*\\.)?(?:app|app\\.src|erl|es|escript|hrl|xrl|yrl)))(?:[\\t ]+((?:[^\\n\\r`])+))?)(?:[\\t ]*$)', beginCaptures: { 1: {name: 'string.other.begin.code.fenced.md'}, 2: { name: 'entity.name.function.md', patterns: [{include: '#markdown-string'}] }, 3: {patterns: [{include: '#markdown-string'}]} }, end: '(?:^|\\G)[ ]{0,3}(\\1)(?:[\\t ]*$)', endCaptures: {1: {name: 'string.other.end.code.fenced.md'}}, name: 'markup.code.erlang.md', patterns: [ { begin: '(^|\\G)(\\s*)(.*)', contentName: 'meta.embedded.erlang', patterns: [{include: 'source.erlang'}], while: '(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)' } ] }, { begin: '(?:^|\\G)[ ]{0,3}(~{3,})(?:[\\t ]*((?i:erlang|(?:.*\\.)?(?:app|app\\.src|erl|es|escript|hrl|xrl|yrl)))(?:[\\t ]+((?:[^\\n\\r])+))?)(?:[\\t ]*$)', beginCaptures: { 1: {name: 'string.other.begin.code.fenced.md'}, 2: { name: 'entity.name.function.md', patterns: [{include: '#markdown-string'}] }, 3: {patterns: [{include: '#markdown-string'}]} }, end: '(?:^|\\G)[ ]{0,3}(\\1)(?:[\\t ]*$)', endCaptures: {1: {name: 'string.other.end.code.fenced.md'}}, name: 'markup.code.erlang.md', patterns: [ { begin: '(^|\\G)(\\s*)(.*)', contentName: 'meta.embedded.erlang', patterns: [{include: 'source.erlang'}], while: '(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)' } ] } ] }, 'commonmark-code-fenced-gitconfig': { patterns: [ { begin: '(?:^|\\G)[ ]{0,3}(`{3,})(?:[\\t ]*((?i:git\\x2dconfig|gitmodules|(?:.*\\.)?gitconfig))(?:[\\t ]+((?:[^\\n\\r`])+))?)(?:[\\t ]*$)', beginCaptures: { 1: {name: 'string.other.begin.code.fenced.md'}, 2: { name: 'entity.name.function.md', patterns: [{include: '#markdown-string'}] }, 3: {patterns: [{include: '#markdown-string'}]} }, end: '(?:^|\\G)[ ]{0,3}(\\1)(?:[\\t ]*$)', endCaptures: {1: {name: 'string.other.end.code.fenced.md'}}, name: 'markup.code.gitconfig.md', patterns: [ { begin: '(^|\\G)(\\s*)(.*)', contentName: 'meta.embedded.gitconfig', patterns: [{include: 'source.gitconfig'}], while: '(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)' } ] }, { begin: '(?:^|\\G)[ ]{0,3}(~{3,})(?:[\\t ]*((?i:git\\x2dconfig|gitmodules|(?:.*\\.)?gitconfig))(?:[\\t ]+((?:[^\\n\\r])+))?)(?:[\\t ]*$)', beginCaptures: { 1: {name: 'string.other.begin.code.fenced.md'}, 2: { name: 'entity.name.function.md', patterns: [{include: '#markdown-string'}] }, 3: {patterns: [{include: '#markdown-string'}]} }, end: '(?:^|\\G)[ ]{0,3}(\\1)(?:[\\t ]*$)', endCaptures: {1: {name: 'string.other.end.code.fenced.md'}}, name: 'markup.code.gitconfig.md', patterns: [ { begin: '(^|\\G)(\\s*)(.*)', contentName: 'meta.embedded.gitconfig', patterns: [{include: 'source.gitconfig'}], while: '(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)' } ] } ] }, 'commonmark-code-fenced-go': { patterns: [ { begin: '(?:^|\\G)[ ]{0,3}(`{3,})(?:[\\t ]*((?i:golang|(?:.*\\.)?go))(?:[\\t ]+((?:[^\\n\\r`])+))?)(?:[\\t ]*$)', beginCaptures: { 1: {name: 'string.other.begin.code.fenced.md'}, 2: { name: 'entity.name.function.md', patterns: [{include: '#markdown-string'}] }, 3: {patterns: [{include: '#markdown-string'}]} }, end: '(?:^|\\G)[ ]{0,3}(\\1)(?:[\\t ]*$)', endCaptures: {1: {name: 'string.other.end.code.fenced.md'}}, name: 'markup.code.go.md', patterns: [ { begin: '(^|\\G)(\\s*)(.*)', contentName: 'meta.embedded.go', patterns: [{include: 'source.go'}], while: '(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)' } ] }, { begin: '(?:^|\\G)[ ]{0,3}(~{3,})(?:[\\t ]*((?i:golang|(?:.*\\.)?go))(?:[\\t ]+((?:[^\\n\\r])+))?)(?:[\\t ]*$)', beginCaptures: { 1: {name: 'string.other.begin.code.fenced.md'}, 2: { name: 'entity.name.function.md', patterns: [{include: '#markdown-string'}] }, 3: {patterns: [{include: '#markdown-string'}]} }, end: '(?:^|\\G)[ ]{0,3}(\\1)(?:[\\t ]*$)', endCaptures: {1: {name: 'string.other.end.code.fenced.md'}}, name: 'markup.code.go.md', patterns: [ { begin: '(^|\\G)(\\s*)(.*)', contentName: 'meta.embedded.go', patterns: [{include: 'source.go'}], while: '(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)' } ] } ] }, 'commonmark-code-fenced-graphql': { patterns: [ { begin: '(?:^|\\G)[ ]{0,3}(`{3,})(?:[\\t ]*((?i:(?:.*\\.)?(?:gql|graphql|graphqls)))(?:[\\t ]+((?:[^\\n\\r`])+))?)(?:[\\t ]*$)', beginCaptures: { 1: {name: 'string.other.begin.code.fenced.md'}, 2: { name: 'entity.name.function.md', patterns: [{include: '#markdown-string'}] }, 3: {patterns: [{include: '#markdown-string'}]} }, end: '(?:^|\\G)[ ]{0,3}(\\1)(?:[\\t ]*$)', endCaptures: {1: {name: 'string.other.end.code.fenced.md'}}, name: 'markup.code.graphql.md', patterns: [ { begin: '(^|\\G)(\\s*)(.*)', contentName: 'meta.embedded.graphql', patterns: [{include: 'source.graphql'}], while: '(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)' } ] }, { begin: '(?:^|\\G)[ ]{0,3}(~{3,})(?:[\\t ]*((?i:(?:.*\\.)?(?:gql|graphql|graphqls)))(?:[\\t ]+((?:[^\\n\\r])+))?)(?:[\\t ]*$)', beginCaptures: { 1: {name: 'string.other.begin.code.fenced.md'}, 2: { name: 'entity.name.function.md', patterns: [{include: '#markdown-string'}] }, 3: {patterns: [{include: '#markdown-string'}]} }, end: '(?:^|\\G)[ ]{0,3}(\\1)(?:[\\t ]*$)', endCaptures: {1: {name: 'string.other.end.code.fenced.md'}}, name: 'markup.code.graphql.md', patterns: [ { begin: '(^|\\G)(\\s*)(.*)', contentName: 'meta.embedded.graphql', patterns: [{include: 'source.graphql'}], while: '(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)' } ] } ] }, 'commonmark-code-fenced-haskell': { patterns: [ { begin: '(?:^|\\G)[ ]{0,3}(`{3,})(?:[\\t ]*((?i:c2hs|c2hs\\x2dhaskell|frege|haskell|(?:.*\\.)?(?:chs|dhall|hs|hs\\x2dboot|hsc)))(?:[\\t ]+((?:[^\\n\\r`])+))?)(?:[\\t ]*$)', beginCaptures: { 1: {name: 'string.other.begin.code.fenced.md'}, 2: { name: 'entity.name.function.md', patterns: [{include: '#markdown-string'}] }, 3: {patterns: [{include: '#markdown-string'}]} }, end: '(?:^|\\G)[ ]{0,3}(\\1)(?:[\\t ]*$)', endCaptures: {1: {name: 'string.other.end.code.fenced.md'}}, name: 'markup.code.haskell.md', patterns: [ { begin: '(^|\\G)(\\s*)(.*)', contentName: 'meta.embedded.haskell', patterns: [{include: 'source.haskell'}], while: '(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)' } ] }, { begin: '(?:^|\\G)[ ]{0,3}(~{3,})(?:[\\t ]*((?i:c2hs|c2hs\\x2dhaskell|frege|haskell|(?:.*\\.)?(?:chs|dhall|hs|hs\\x2dboot|hsc)))(?:[\\t ]+((?:[^\\n\\r])+))?)(?:[\\t ]*$)', beginCaptures: { 1: {name: 'string.other.begin.code.fenced.md'}, 2: { name: 'entity.name.function.md', patterns: [{include: '#markdown-string'}] }, 3: {patterns: [{include: '#markdown-string'}]} }, end: '(?:^|\\G)[ ]{0,3}(\\1)(?:[\\t ]*$)', endCaptures: {1: {name: 'string.other.end.code.fenced.md'}}, name: 'markup.code.haskell.md', patterns: [ { begin: '(^|\\G)(\\s*)(.*)', contentName: 'meta.embedded.haskell', patterns: [{include: 'source.haskell'}], while: '(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)' } ] } ] }, 'commonmark-code-fenced-html': { patterns: [ { begin: '(?:^|\\G)[ ]{0,3}(`{3,})(?:[\\t ]*((?i:html|(?:.*\\.)?(?:hta|htm|html\\.hl|kit|mtml|xht|xhtml)))(?:[\\t ]+((?:[^\\n\\r`])+))?)(?:[\\t ]*$)', beginCaptures: { 1: {name: 'string.other.begin.code.fenced.md'}, 2: { name: 'entity.name.function.md', patterns: [{include: '#markdown-string'}] }, 3: {patterns: [{include: '#markdown-string'}]} }, end: '(?:^|\\G)[ ]{0,3}(\\1)(?:[\\t ]*$)', endCaptures: {1: {name: 'string.other.end.code.fenced.md'}}, name: 'markup.code.html.md', patterns: [ { begin: '(^|\\G)(\\s*)(.*)', contentName: 'meta.embedded.html', patterns: [{include: 'text.html.basic'}], while: '(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)' } ] }, { begin: '(?:^|\\G)[ ]{0,3}(~{3,})(?:[\\t ]*((?i:html|(?:.*\\.)?(?:hta|htm|html\\.hl|kit|mtml|xht|xhtml)))(?:[\\t ]+((?:[^\\n\\r])+))?)(?:[\\t ]*$)', beginCaptures: { 1: {name: 'string.other.begin.code.fenced.md'}, 2: { name: 'entity.name.function.md', patterns: [{include: '#markdown-string'}] }, 3: {patterns: [{include: '#markdown-string'}]} }, end: '(?:^|\\G)[ ]{0,3}(\\1)(?:[\\t ]*$)', endCaptures: {1: {name: 'string.other.end.code.fenced.md'}}, name: 'markup.code.html.md', patterns: [ { begin: '(^|\\G)(\\s*)(.*)', contentName: 'meta.embedded.html', patterns: [{include: 'text.html.basic'}], while: '(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)' } ] } ] }, 'commonmark-code-fenced-ini': { patterns: [ { begin: '(?:^|\\G)[ ]{0,3}(`{3,})(?:[\\t ]*((?i:altium|altium\\x2ddesigner|dosini|(?:.*\\.)?(?:cnf|dof|ini|lektorproject|outjob|pcbdoc|prefs|prjpcb|properties|schdoc|url)))(?:[\\t ]+((?:[^\\n\\r`])+))?)(?:[\\t ]*$)', beginCaptures: { 1: {name: 'string.other.begin.code.fenced.md'}, 2: { name: 'entity.name.function.md', patterns: [{include: '#markdown-string'}] }, 3: {patterns: [{include: '#markdown-string'}]} }, end: '(?:^|\\G)[ ]{0,3}(\\1)(?:[\\t ]*$)', endCaptures: {1: {name: 'string.other.end.code.fenced.md'}}, name: 'markup.code.ini.md', patterns: [ { begin: '(^|\\G)(\\s*)(.*)', contentName: 'meta.embedded.ini', patterns: [{include: 'source.ini'}], while: '(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)' } ] }, { begin: '(?:^|\\G)[ ]{0,3}(~{3,})(?:[\\t ]*((?i:altium|altium\\x2ddesigner|dosini|(?:.*\\.)?(?:cnf|dof|ini|lektorproject|outjob|pcbdoc|prefs|prjpcb|properties|schdoc|url)))(?:[\\t ]+((?:[^\\n\\r])+))?)(?:[\\t ]*$)', beginCaptures: { 1: {name: 'string.other.begin.code.fenced.md'}, 2: { name: 'entity.name.function.md', patterns: [{include: '#markdown-string'}] }, 3: {patterns: [{include: '#markdown-string'}]} }, end: '(?:^|\\G)[ ]{0,3}(\\1)(?:[\\t ]*$)', endCaptures: {1: {name: 'string.other.end.code.fenced.md'}}, name: 'markup.code.ini.md', patterns: [ { begin: '(^|\\G)(\\s*)(.*)', contentName: 'meta.embedded.ini', patterns: [{include: 'source.ini'}], while: '(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)' } ] } ] }, 'commonmark-code-fenced-java': { patterns: [ { begin: '(?:^|\\G)[ ]{0,3}(`{3,})(?:[\\t ]*((?i:chuck|unrealscript|(?:.*\\.)?(?:ck|jav|java|jsh|uc)))(?:[\\t ]+((?:[^\\n\\r`])+))?)(?:[\\t ]*$)', beginCaptures: { 1: {name: 'string.other.begin.code.fenced.md'}, 2: { name: 'entity.name.function.md', patterns: [{include: '#markdown-string'}] }, 3: {patterns: [{include: '#markdown-string'}]} }, end: '(?:^|\\G)[ ]{0,3}(\\1)(?:[\\t ]*$)', endCaptures: {1: {name: 'string.other.end.code.fenced.md'}}, name: 'markup.code.java.md', patterns: [ { begin: '(^|\\G)(\\s*)(.*)', contentName: 'meta.embedded.java', patterns: [{include: 'source.java'}], while: '(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)' } ] }, { begin: '(?:^|\\G)[ ]{0,3}(~{3,})(?:[\\t ]*((?i:chuck|unrealscript|(?:.*\\.)?(?:ck|jav|java|jsh|uc)))(?:[\\t ]+((?:[^\\n\\r])+))?)(?:[\\t ]*$)', beginCaptures: { 1: {name: 'string.other.begin.code.fenced.md'}, 2: { name: 'entity.name.function.md', patterns: [{include: '#markdown-string'}] }, 3: {patterns: [{include: '#markdown-string'}]} }, end: '(?:^|\\G)[ ]{0,3}(\\1)(?:[\\t ]*$)', endCaptures: {1: {name: 'string.other.end.code.fenced.md'}}, name: 'markup.code.java.md', patterns: [ { begin: '(^|\\G)(\\s*)(.*)', contentName: 'meta.embedded.java', patterns: [{include: 'source.java'}], while: '(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)' } ] } ] }, 'commonmark-code-fenced-js': { patterns: [ { begin: '(?:^|\\G)[ ]{0,3}(`{3,})(?:[\\t ]*((?i:cycript|javascript\\+erb|json\\x2dwith\\x2dcomments|node|qt\\x2dscript|(?:.*\\.)?(?:_js|bones|cjs|code\\x2dsnippets|code\\x2dworkspace|cy|es6|jake|javascript|js|js\\.erb|jsb|jscad|jsfl|jslib|jsm|json5|jsonc|jsonld|jspre|jss|jsx|mjs|njs|pac|sjs|ssjs|sublime\\x2dbuild|sublime\\x2dcolor\\x2dscheme|sublime\\x2dcommands|sublime\\x2dcompletions|sublime\\x2dkeymap|sublime\\x2dmacro|sublime\\x2dmenu|sublime\\x2dmousemap|sublime\\x2dproject|sublime\\x2dsettings|sublime\\x2dtheme|sublime\\x2dworkspace|sublime_metrics|sublime_session|xsjs|xsjslib)))(?:[\\t ]+((?:[^\\n\\r`])+))?)(?:[\\t ]*$)', beginCaptures: { 1: {name: 'string.other.begin.code.fenced.md'}, 2: { name: 'entity.name.function.md', patterns: [{include: '#markdown-string'}] }, 3: {patterns: [{include: '#markdown-string'}]} }, end: '(?:^|\\G)[ ]{0,3}(\\1)(?:[\\t ]*$)', endCaptures: {1: {name: 'string.other.end.code.fenced.md'}}, name: 'markup.code.js.md', patterns: [ { begin: '(^|\\G)(\\s*)(.*)', contentName: 'meta.embedded.js', patterns: [{include: 'source.js'}], while: '(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)' } ] }, { begin: '(?:^|\\G)[ ]{0,3}(~{3,})(?:[\\t ]*((?i:cycript|javascript\\+erb|json\\x2dwith\\x2dcomments|node|qt\\x2dscript|(?:.*\\.)?(?:_js|bones|cjs|code\\x2dsnippets|code\\x2dworkspace|cy|es6|jake|javascript|js|js\\.erb|jsb|jscad|jsfl|jslib|jsm|json5|jsonc|jsonld|jspre|jss|jsx|mjs|njs|pac|sjs|ssjs|sublime\\x2dbuild|sublime\\x2dcolor\\x2dscheme|sublime\\x2dcommands|sublime\\x2dcompletions|sublime\\x2dkeymap|sublime\\x2dmacro|sublime\\x2dmenu|sublime\\x2dmousemap|sublime\\x2dproject|sublime\\x2dsettings|sublime\\x2dtheme|sublime\\x2dworkspace|sublime_metrics|sublime_session|xsjs|xsjslib)))(?:[\\t ]+((?:[^\\n\\r])+))?)(?:[\\t ]*$)', beginCaptures: { 1: {name: 'string.other.begin.code.fenced.md'}, 2: { name: 'entity.name.function.md', patterns: [{include: '#markdown-string'}] }, 3: {patterns: [{include: '#markdown-string'}]}