github-linguist-grammars 4.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/grammars/file.lasso.json +713 -0
- data/grammars/module.ceylon.json +54 -0
- data/grammars/objdump.x86asm.json +73 -0
- data/grammars/source.Inform7.json +45 -0
- data/grammars/source.Kotlin.json +774 -0
- data/grammars/source.LS.json +104 -0
- data/grammars/source.MCPOST.json +68 -0
- data/grammars/source.MOD.json +70 -0
- data/grammars/source.abap.json +176 -0
- data/grammars/source.abl.json +138 -0
- data/grammars/source.actionscript.3.json +1571 -0
- data/grammars/source.acucobol.json +16 -0
- data/grammars/source.ada.json +140 -0
- data/grammars/source.agda.json +254 -0
- data/grammars/source.ahk.json +171 -0
- data/grammars/source.alloy.json +44 -0
- data/grammars/source.ampl.json +157 -0
- data/grammars/source.antlr.json +300 -0
- data/grammars/source.apache-config.json +352 -0
- data/grammars/source.apache-config.mod_perl.json +70 -0
- data/grammars/source.apl.json +442 -0
- data/grammars/source.applescript.json +1385 -0
- data/grammars/source.apt.json +25 -0
- data/grammars/source.asm.x86.json +182 -0
- data/grammars/source.asp.json +157 -0
- data/grammars/source.aspectj.json +963 -0
- data/grammars/source.ats.json +170 -0
- data/grammars/source.autoit.3.json +132 -0
- data/grammars/source.awk.json +388 -0
- data/grammars/source.befunge.json +38 -0
- data/grammars/source.bf.json +36 -0
- data/grammars/source.bison.json +59 -0
- data/grammars/source.blitzmax.json +912 -0
- data/grammars/source.boo.json +452 -0
- data/grammars/source.brightauthorproject.json +29 -0
- data/grammars/source.brightscript.json +158 -0
- data/grammars/source.bro.json +409 -0
- data/grammars/source.bsv.json +283 -0
- data/grammars/source.c++.json +364 -0
- data/grammars/source.c++.qt.json +37 -0
- data/grammars/source.c.ec.json +39 -0
- data/grammars/source.c.json +727 -0
- data/grammars/source.c.platform.json +154 -0
- data/grammars/source.cache.cmake.json +75 -0
- data/grammars/source.cake.json +16 -0
- data/grammars/source.camlp4.ocaml.json +63 -0
- data/grammars/source.capnp.json +93 -0
- data/grammars/source.ceylon.json +77 -0
- data/grammars/source.cfscript.cfc.json +170 -0
- data/grammars/source.cfscript.json +744 -0
- data/grammars/source.chapel.json +240 -0
- data/grammars/source.cirru.json +66 -0
- data/grammars/source.clarion.json +159 -0
- data/grammars/source.clips.json +80 -0
- data/grammars/source.clojure.json +397 -0
- data/grammars/source.cm.json +54 -0
- data/grammars/source.cmake.json +181 -0
- data/grammars/source.cobol.json +528 -0
- data/grammars/source.coffee.json +678 -0
- data/grammars/source.compiled-papyrus.json +11 -0
- data/grammars/source.cool.json +103 -0
- data/grammars/source.coq.json +62 -0
- data/grammars/source.crystal.json +2760 -0
- data/grammars/source.cs.json +556 -0
- data/grammars/source.css.json +630 -0
- data/grammars/source.css.less.json +276 -0
- data/grammars/source.css.mss.json +256 -0
- data/grammars/source.csx.json +16 -0
- data/grammars/source.cuda-c++.json +137 -0
- data/grammars/source.cython.json +2108 -0
- data/grammars/source.d.json +722 -0
- data/grammars/source.dart.json +763 -0
- data/grammars/source.desktop.json +90 -0
- data/grammars/source.diff.json +162 -0
- data/grammars/source.dockerfile.json +89 -0
- data/grammars/source.dosbatch.json +70 -0
- data/grammars/source.dot.json +126 -0
- data/grammars/source.dylan.json +217 -0
- data/grammars/source.eiffel.json +138 -0
- data/grammars/source.elixir.json +737 -0
- data/grammars/source.elm.json +355 -0
- data/grammars/source.erazor.json +126 -0
- data/grammars/source.erlang.json +1674 -0
- data/grammars/source.essl.json +50 -0
- data/grammars/source.factor.json +260 -0
- data/grammars/source.fan.json +188 -0
- data/grammars/source.fancy.json +270 -0
- data/grammars/source.fish.json +214 -0
- data/grammars/source.forth.json +101 -0
- data/grammars/source.fortran.json +499 -0
- data/grammars/source.fortran.modern.json +226 -0
- data/grammars/source.fsharp.json +403 -0
- data/grammars/source.gap.json +167 -0
- data/grammars/source.gcode.json +25 -0
- data/grammars/source.gdscript.json +154 -0
- data/grammars/source.gfm.json +1270 -0
- data/grammars/source.glsl.json +71 -0
- data/grammars/source.gnuplot.json +276 -0
- data/grammars/source.go.json +552 -0
- data/grammars/source.golo.json +182 -0
- data/grammars/source.gosu.2.json +163 -0
- data/grammars/source.grace.json +679 -0
- data/grammars/source.groovy.gradle.json +73 -0
- data/grammars/source.groovy.json +1385 -0
- data/grammars/source.harbour.json +450 -0
- data/grammars/source.haskell.json +449 -0
- data/grammars/source.haxe.2.json +1243 -0
- data/grammars/source.hss.1.json +464 -0
- data/grammars/source.httpspec.json +287 -0
- data/grammars/source.hxml.json +26 -0
- data/grammars/source.hy.json +270 -0
- data/grammars/source.idl-dlm.json +112 -0
- data/grammars/source.idl.json +267 -0
- data/grammars/source.idris.json +537 -0
- data/grammars/source.ini.json +113 -0
- data/grammars/source.inno.json +65 -0
- data/grammars/source.io.json +164 -0
- data/grammars/source.ioke.json +272 -0
- data/grammars/source.isabelle.root.json +68 -0
- data/grammars/source.isabelle.theory.json +106 -0
- data/grammars/source.j.json +49 -0
- data/grammars/source.jade.json +1009 -0
- data/grammars/source.jasmin.json +299 -0
- data/grammars/source.java-properties.json +97 -0
- data/grammars/source.java.json +1026 -0
- data/grammars/source.jcl.json +49 -0
- data/grammars/source.jflex.json +490 -0
- data/grammars/source.jq.json +218 -0
- data/grammars/source.js.json +948 -0
- data/grammars/source.js.jsx.json +2937 -0
- data/grammars/source.js.objj.json +424 -0
- data/grammars/source.js.regexp.json +150 -0
- data/grammars/source.js.regexp.replacement.json +30 -0
- data/grammars/source.json.json +149 -0
- data/grammars/source.julia.json +407 -0
- data/grammars/source.lean.json +145 -0
- data/grammars/source.lid.json +23 -0
- data/grammars/source.lilypond.json +623 -0
- data/grammars/source.lisp.json +111 -0
- data/grammars/source.litcoffee.json +669 -0
- data/grammars/source.livescript.json +616 -0
- data/grammars/source.llvm.json +71 -0
- data/grammars/source.logos.json +31 -0
- data/grammars/source.logtalk.json +315 -0
- data/grammars/source.loomscript.json +214 -0
- data/grammars/source.lsl.json +216 -0
- data/grammars/source.lua.json +191 -0
- data/grammars/source.makefile.json +474 -0
- data/grammars/source.makegen.json +13 -0
- data/grammars/source.man.json +53 -0
- data/grammars/source.mask.json +701 -0
- data/grammars/source.mata.json +133 -0
- data/grammars/source.mathematica.json +429 -0
- data/grammars/source.matlab.json +776 -0
- data/grammars/source.mercury.json +251 -0
- data/grammars/source.ml.json +291 -0
- data/grammars/source.modelica.json +142 -0
- data/grammars/source.modula2.json +103 -0
- data/grammars/source.monkey.json +701 -0
- data/grammars/source.moonscript.json +149 -0
- data/grammars/source.mupad.json +149 -0
- data/grammars/source.nant-build.json +86 -0
- data/grammars/source.ncl.json +66 -0
- data/grammars/source.nemerle.json +137 -0
- data/grammars/source.nesc.json +27 -0
- data/grammars/source.netlinx.erb.json +47 -0
- data/grammars/source.netlinx.json +768 -0
- data/grammars/source.nginx.json +797 -0
- data/grammars/source.nim.json +1150 -0
- data/grammars/source.nim_filter.json +133 -0
- data/grammars/source.nimcfg.json +116 -0
- data/grammars/source.ninja.json +66 -0
- data/grammars/source.nit.json +238 -0
- data/grammars/source.nix.json +1200 -0
- data/grammars/source.nmml.json +87 -0
- data/grammars/source.nsis.json +150 -0
- data/grammars/source.objc++.json +19 -0
- data/grammars/source.objc.json +918 -0
- data/grammars/source.objc.platform.json +277 -0
- data/grammars/source.ocaml.json +1426 -0
- data/grammars/source.ocamllex.json +305 -0
- data/grammars/source.ocamlyacc.json +346 -0
- data/grammars/source.octave.json +451 -0
- data/grammars/source.ooc.json +692 -0
- data/grammars/source.opa.json +206 -0
- data/grammars/source.opal.json +415 -0
- data/grammars/source.opalsysdefs.json +70 -0
- data/grammars/source.opencobol.json +65 -0
- data/grammars/source.ox.json +97 -0
- data/grammars/source.oz.json +84 -0
- data/grammars/source.papyrus-assembly.json +266 -0
- data/grammars/source.papyrus.json +231 -0
- data/grammars/source.parrot.pir.json +117 -0
- data/grammars/source.pascal.json +150 -0
- data/grammars/source.perl.6.json +310 -0
- data/grammars/source.perl.json +2413 -0
- data/grammars/source.php.zephir.json +362 -0
- data/grammars/source.pig_latin.json +172 -0
- data/grammars/source.pike.json +62 -0
- data/grammars/source.plsql.oracle.json +642 -0
- data/grammars/source.po.json +232 -0
- data/grammars/source.pogoscript.json +85 -0
- data/grammars/source.postscript.json +231 -0
- data/grammars/source.powershell.json +755 -0
- data/grammars/source.processing.json +885 -0
- data/grammars/source.prolog.eclipse.json +206 -0
- data/grammars/source.prolog.json +292 -0
- data/grammars/source.protobuf.json +395 -0
- data/grammars/source.pubspec.json +13 -0
- data/grammars/source.puppet.json +494 -0
- data/grammars/source.purescript.json +818 -0
- data/grammars/source.pyjade.json +1010 -0
- data/grammars/source.python.django.json +34 -0
- data/grammars/source.python.json +1960 -0
- data/grammars/source.python.salt.json +13 -0
- data/grammars/source.qmake.json +217 -0
- data/grammars/source.qml.json +195 -0
- data/grammars/source.r.json +203 -0
- data/grammars/source.racket.json +119 -0
- data/grammars/source.rebol.json +647 -0
- data/grammars/source.red.json +652 -0
- data/grammars/source.regexp.babel.json +190 -0
- data/grammars/source.regexp.python.json +187 -0
- data/grammars/source.regexp.spin.json +188 -0
- data/grammars/source.ruby.json +1956 -0
- data/grammars/source.ruby.rspec.cucumber.steps.json +274 -0
- data/grammars/source.rust.json +269 -0
- data/grammars/source.sas.json +322 -0
- data/grammars/source.sas_log.json +26 -0
- data/grammars/source.sass.json +248 -0
- data/grammars/source.sbt.json +36 -0
- data/grammars/source.scad.json +152 -0
- data/grammars/source.scala.json +739 -0
- data/grammars/source.scaml.json +466 -0
- data/grammars/source.scheme.json +370 -0
- data/grammars/source.scilab.json +103 -0
- data/grammars/source.scss.json +1321 -0
- data/grammars/source.shell.json +1212 -0
- data/grammars/source.smali.json +1668 -0
- data/grammars/source.smalltalk.json +135 -0
- data/grammars/source.smt.json +173 -0
- data/grammars/source.sp.json +118 -0
- data/grammars/source.sparql.json +23 -0
- data/grammars/source.spin.json +936 -0
- data/grammars/source.sqf.json +112 -0
- data/grammars/source.sql.json +473 -0
- data/grammars/source.stata.json +208 -0
- data/grammars/source.strings.json +53 -0
- data/grammars/source.stylus.json +1021 -0
- data/grammars/source.swift.json +965 -0
- data/grammars/source.systemverilog.json +1050 -0
- data/grammars/source.tcl.json +277 -0
- data/grammars/source.tea.json +180 -0
- data/grammars/source.thrift.json +704 -0
- data/grammars/source.toml.json +327 -0
- data/grammars/source.ts.json +1094 -0
- data/grammars/source.tsx.json +1324 -0
- data/grammars/source.turtle.json +505 -0
- data/grammars/source.txl.json +62 -0
- data/grammars/source.ucfconstraints.json +72 -0
- data/grammars/source.vala.json +814 -0
- data/grammars/source.varnish.vcl.json +343 -0
- data/grammars/source.vbnet.json +338 -0
- data/grammars/source.verilog.json +302 -0
- data/grammars/source.vhdl.json +1349 -0
- data/grammars/source.viml.json +224 -0
- data/grammars/source.webidl.json +814 -0
- data/grammars/source.x10.json +68 -0
- data/grammars/source.x86asm.json +47 -0
- data/grammars/source.xc.json +379 -0
- data/grammars/source.xq.json +241 -0
- data/grammars/source.xquery.json +193 -0
- data/grammars/source.xtend.json +733 -0
- data/grammars/source.yaml.json +334 -0
- data/grammars/source.yaml.salt.json +348 -0
- data/grammars/text.bibtex.json +251 -0
- data/grammars/text.cfml.basic.json +736 -0
- data/grammars/text.dart-analysis-output.json +162 -0
- data/grammars/text.dart-doccomments.json +19 -0
- data/grammars/text.elixir.json +45 -0
- data/grammars/text.gherkin.feature.json +135 -0
- data/grammars/text.groff.json +113 -0
- data/grammars/text.haml.json +299 -0
- data/grammars/text.html.abl.json +24 -0
- data/grammars/text.html.asciidoc.json +492 -0
- data/grammars/text.html.asdoc.json +541 -0
- data/grammars/text.html.asp.json +58 -0
- data/grammars/text.html.basic.json +552 -0
- data/grammars/text.html.cfm.json +811 -0
- data/grammars/text.html.creole.json +329 -0
- data/grammars/text.html.django.json +69 -0
- data/grammars/text.html.elixir.json +18 -0
- data/grammars/text.html.erb.json +157 -0
- data/grammars/text.html.erlang.yaws.json +72 -0
- data/grammars/text.html.factor.json +27 -0
- data/grammars/text.html.handlebars.json +783 -0
- data/grammars/text.html.jsp.json +1203 -0
- data/grammars/text.html.liquid.json +35 -0
- data/grammars/text.html.mako.json +729 -0
- data/grammars/text.html.markdown.source.gfm.apib.json +1297 -0
- data/grammars/text.html.markdown.source.gfm.mson.json +1165 -0
- data/grammars/text.html.mediawiki.json +972 -0
- data/grammars/text.html.php.json +2607 -0
- data/grammars/text.html.slash.json +313 -0
- data/grammars/text.html.smarty.json +216 -0
- data/grammars/text.html.ssp.json +49 -0
- data/grammars/text.html.tcl.json +44 -0
- data/grammars/text.html.twig.json +1353 -0
- data/grammars/text.html.vue.json +642 -0
- data/grammars/text.idl-idldoc.json +14 -0
- data/grammars/text.junit-test-report.json +92 -0
- data/grammars/text.log.latex.json +86 -0
- data/grammars/text.python.console.json +25 -0
- data/grammars/text.python.traceback.json +46 -0
- data/grammars/text.rdoc.json +48 -0
- data/grammars/text.restructuredtext.json +561 -0
- data/grammars/text.robot.json +73 -0
- data/grammars/text.shell-session.json +48 -0
- data/grammars/text.slim.json +527 -0
- data/grammars/text.tex.json +271 -0
- data/grammars/text.tex.latex.beamer.json +63 -0
- data/grammars/text.tex.latex.haskell.json +56 -0
- data/grammars/text.tex.latex.json +1013 -0
- data/grammars/text.tex.latex.memoir.json +99 -0
- data/grammars/text.tex.latex.rd.json +117 -0
- data/grammars/text.xml.ant.json +202 -0
- data/grammars/text.xml.flex-config.json +2634 -0
- data/grammars/text.xml.genshi.json +34 -0
- data/grammars/text.xml.json +364 -0
- data/grammars/text.xml.pom.json +774 -0
- data/grammars/text.xml.xsl.json +94 -0
- data/grammars/text.zone_file.json +72 -0
- data/lib/linguist/grammars.rb +13 -0
- metadata +389 -0
@@ -0,0 +1,1297 @@
|
|
1
|
+
{
|
2
|
+
"fileTypes": [
|
3
|
+
"apib"
|
4
|
+
],
|
5
|
+
"foldingStartMarker": "(?x)\n (<(?i:head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|form|dl)\\b.*?>\n |<!--(?!.*-->)\n |\\{\\s*($|\\?>\\s*$|//|/\\*(.*\\*/\\s*$|(?!.*?\\*/)))\n )",
|
6
|
+
"foldingStopMarker": "(?x)\n (</(?i:head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|form|dl)>\n |^\\s*-->\n |(^|\\s)\\}\n )",
|
7
|
+
"keyEquivalent": "^~M",
|
8
|
+
"name": "API Blueprint",
|
9
|
+
"patterns": [
|
10
|
+
{
|
11
|
+
"include": "#blueprint_group"
|
12
|
+
},
|
13
|
+
{
|
14
|
+
"include": "#blueprint_data_structures"
|
15
|
+
},
|
16
|
+
{
|
17
|
+
"include": "#blueprint_action"
|
18
|
+
},
|
19
|
+
{
|
20
|
+
"include": "#blueprint_resource"
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"include": "#blueprint_shorthand"
|
24
|
+
},
|
25
|
+
{
|
26
|
+
"name": "blueprint.response.json",
|
27
|
+
"begin": "([-+*]) ([Rr]equest|[Rr]esponse) (\\d+)?(?: (\\(.*\\/+json(?:[ ;\\/]+.*)?\\)))+",
|
28
|
+
"end": "^(?=\\S)",
|
29
|
+
"beginCaptures": {
|
30
|
+
"1": {
|
31
|
+
"name": "variable.unordered.list.gfm"
|
32
|
+
},
|
33
|
+
"3": {
|
34
|
+
"name": "constant.numeric"
|
35
|
+
},
|
36
|
+
"4": {
|
37
|
+
"name": "variable.language.fenced.markdown"
|
38
|
+
}
|
39
|
+
},
|
40
|
+
"patterns": [
|
41
|
+
{
|
42
|
+
"include": "#http-headers"
|
43
|
+
},
|
44
|
+
{
|
45
|
+
"include": "#mson-block"
|
46
|
+
},
|
47
|
+
{
|
48
|
+
"begin": "([-+*]) [Bb]ody",
|
49
|
+
"end": "^(?=(?=\\S)|(?=\\s+\\+))",
|
50
|
+
"beginCaptures": {
|
51
|
+
"1": {
|
52
|
+
"name": "variable.unordered.list.gfm"
|
53
|
+
}
|
54
|
+
},
|
55
|
+
"patterns": [
|
56
|
+
{
|
57
|
+
"include": "source.js"
|
58
|
+
}
|
59
|
+
]
|
60
|
+
},
|
61
|
+
{
|
62
|
+
"include": "#response-unstyled-section"
|
63
|
+
},
|
64
|
+
{
|
65
|
+
"include": "source.js"
|
66
|
+
}
|
67
|
+
]
|
68
|
+
},
|
69
|
+
{
|
70
|
+
"name": "blueprint.response.xml",
|
71
|
+
"begin": "([-+*]) ([Rr]equest|[Rr]esponse) (\\d+)?(?: (\\(.*\\/+xml(?:[ ;\\/]+.*)?\\)))+",
|
72
|
+
"end": "^(?=\\S)",
|
73
|
+
"beginCaptures": {
|
74
|
+
"1": {
|
75
|
+
"name": "variable.unordered.list.gfm"
|
76
|
+
},
|
77
|
+
"3": {
|
78
|
+
"name": "constant.numeric"
|
79
|
+
},
|
80
|
+
"4": {
|
81
|
+
"name": "variable.language.fenced.markdown"
|
82
|
+
}
|
83
|
+
},
|
84
|
+
"patterns": [
|
85
|
+
{
|
86
|
+
"include": "#http-headers"
|
87
|
+
},
|
88
|
+
{
|
89
|
+
"include": "#mson-block"
|
90
|
+
},
|
91
|
+
{
|
92
|
+
"begin": "([-+*]) [Bb]ody",
|
93
|
+
"end": "^(?=(?=\\S)|(?=\\s+\\+))",
|
94
|
+
"beginCaptures": {
|
95
|
+
"1": {
|
96
|
+
"name": "variable.unordered.list.gfm"
|
97
|
+
}
|
98
|
+
},
|
99
|
+
"patterns": [
|
100
|
+
{
|
101
|
+
"include": "text.xml"
|
102
|
+
}
|
103
|
+
]
|
104
|
+
},
|
105
|
+
{
|
106
|
+
"include": "#response-unstyled-section"
|
107
|
+
},
|
108
|
+
{
|
109
|
+
"include": "text.xml"
|
110
|
+
}
|
111
|
+
]
|
112
|
+
},
|
113
|
+
{
|
114
|
+
"name": "blueprint.response",
|
115
|
+
"begin": "([-+*]) ([Rr]equest|[Rr]esponse) ?(\\d+)?(?: (\\(.*\\))+)?",
|
116
|
+
"end": "^(?=\\S)",
|
117
|
+
"beginCaptures": {
|
118
|
+
"1": {
|
119
|
+
"name": "variable.unordered.list.gfm"
|
120
|
+
},
|
121
|
+
"3": {
|
122
|
+
"name": "constant.numeric"
|
123
|
+
},
|
124
|
+
"4": {
|
125
|
+
"name": "variable.language.fenced.markdown"
|
126
|
+
}
|
127
|
+
},
|
128
|
+
"patterns": [
|
129
|
+
{
|
130
|
+
"include": "#http-headers"
|
131
|
+
},
|
132
|
+
{
|
133
|
+
"include": "#mson-block"
|
134
|
+
},
|
135
|
+
{
|
136
|
+
"include": "#response-unstyled-section"
|
137
|
+
}
|
138
|
+
]
|
139
|
+
},
|
140
|
+
{
|
141
|
+
"include": "#mson-block"
|
142
|
+
},
|
143
|
+
{
|
144
|
+
"include": "#gfm"
|
145
|
+
}
|
146
|
+
],
|
147
|
+
"repository": {
|
148
|
+
"blueprint_group": {
|
149
|
+
"match": "^#{1,6} [Gg]roup.*\\n?",
|
150
|
+
"name": "markup.heading.markdown punctuation.definition.heading.markdown"
|
151
|
+
},
|
152
|
+
"blueprint_resource": {
|
153
|
+
"match": "^#{1,6} .*\\[(.*)\\]\\n?",
|
154
|
+
"name": "markup.heading.markdown punctuation.definition.heading.markdown",
|
155
|
+
"captures": {
|
156
|
+
"1": {
|
157
|
+
"name": "meta.link.inet.markdown markup.underline.link.markdown"
|
158
|
+
}
|
159
|
+
}
|
160
|
+
},
|
161
|
+
"blueprint_action": {
|
162
|
+
"match": "^#{1,6} .*\\[(HEAD|GET|PUT|POST|PATCH|DELETE)(.*)\\]\\n?",
|
163
|
+
"name": "markup.heading.markdown punctuation.definition.heading.markdown",
|
164
|
+
"captures": {
|
165
|
+
"1": {
|
166
|
+
"name": "markup.quote"
|
167
|
+
},
|
168
|
+
"2": {
|
169
|
+
"name": "meta.link.inet.markdown markup.underline.link.markdown"
|
170
|
+
}
|
171
|
+
}
|
172
|
+
},
|
173
|
+
"blueprint_data_structures": {
|
174
|
+
"begin": "^(#{1,6} [Dd]ata [Ss]tructures)",
|
175
|
+
"end": "^(?=#\\s)",
|
176
|
+
"captures": {
|
177
|
+
"1": {
|
178
|
+
"name": "markup.heading.markdown punctuation.definition.heading.markdown"
|
179
|
+
}
|
180
|
+
},
|
181
|
+
"patterns": [
|
182
|
+
{
|
183
|
+
"include": "text.html.markdown.source.gfm.mson"
|
184
|
+
}
|
185
|
+
]
|
186
|
+
},
|
187
|
+
"blueprint_shorthand": {
|
188
|
+
"match": "^#{1,6} (HEAD|GET|PUT|POST|PATCH|DELETE) (.*)\\n?",
|
189
|
+
"name": "markup.heading.markdown punctuation.definition.heading.markdown",
|
190
|
+
"captures": {
|
191
|
+
"2": {
|
192
|
+
"name": "meta.link.inet.markdown markup.underline.link.markdown"
|
193
|
+
}
|
194
|
+
}
|
195
|
+
},
|
196
|
+
"http-headers": {
|
197
|
+
"begin": "([-+*]) [Hh]eaders",
|
198
|
+
"end": "^(?=(?=\\S)|(?=\\s+\\+))",
|
199
|
+
"beginCaptures": {
|
200
|
+
"1": {
|
201
|
+
"name": "variable.unordered.list.gfm"
|
202
|
+
}
|
203
|
+
},
|
204
|
+
"patterns": [
|
205
|
+
{
|
206
|
+
"match": "(.*?):(.*)",
|
207
|
+
"captures": {
|
208
|
+
"1": {
|
209
|
+
"name": "keyword"
|
210
|
+
},
|
211
|
+
"2": {
|
212
|
+
"name": "header-value"
|
213
|
+
}
|
214
|
+
}
|
215
|
+
}
|
216
|
+
]
|
217
|
+
},
|
218
|
+
"mson-block": {
|
219
|
+
"patterns": [
|
220
|
+
{
|
221
|
+
"begin": "^([-+*]) ([Aa]ttributes|[Pp]arameters)",
|
222
|
+
"end": "^(?=\\S)",
|
223
|
+
"beginCaptures": {
|
224
|
+
"1": {
|
225
|
+
"name": "variable.unordered.list.gfm"
|
226
|
+
}
|
227
|
+
},
|
228
|
+
"name": "mson-block",
|
229
|
+
"patterns": [
|
230
|
+
{
|
231
|
+
"include": "text.html.markdown.source.gfm.mson"
|
232
|
+
}
|
233
|
+
]
|
234
|
+
},
|
235
|
+
{
|
236
|
+
"begin": "^(\\s+)([-+*]) ([Aa]ttributes|[Pp]arameters)",
|
237
|
+
"end": "^(?!\\1|\\n)|(?=\\1[-+*])",
|
238
|
+
"beginCaptures": {
|
239
|
+
"2": {
|
240
|
+
"name": "variable.unordered.list.gfm"
|
241
|
+
}
|
242
|
+
},
|
243
|
+
"name": "mson-block",
|
244
|
+
"patterns": [
|
245
|
+
{
|
246
|
+
"include": "text.html.markdown.source.gfm.mson"
|
247
|
+
}
|
248
|
+
]
|
249
|
+
}
|
250
|
+
]
|
251
|
+
},
|
252
|
+
"response-unstyled-section": {
|
253
|
+
"comment": "Ignores list items that aren't the previously matched headers or body",
|
254
|
+
"begin": "([-+*])",
|
255
|
+
"end": "^(?=(?=\\S)|(?=\\s+[-+*]))",
|
256
|
+
"beginCaptures": {
|
257
|
+
"1": {
|
258
|
+
"name": "variable.unordered.list.gfm"
|
259
|
+
}
|
260
|
+
}
|
261
|
+
},
|
262
|
+
"gfm": {
|
263
|
+
"patterns": [
|
264
|
+
{
|
265
|
+
"match": "\\\\.",
|
266
|
+
"name": "constant.character.escape.gfm"
|
267
|
+
},
|
268
|
+
{
|
269
|
+
"begin": "(?<=^|[^\\w\\d\\*])\\*\\*\\*(?!$|\\*|\\s)",
|
270
|
+
"end": "(?<!^|\\s)\\*\\*\\**\\*(?=$|[^\\w|\\d])",
|
271
|
+
"name": "markup.bold.italic.gfm"
|
272
|
+
},
|
273
|
+
{
|
274
|
+
"begin": "(?<=^|[^\\w\\d_])___(?!$|_|\\s)",
|
275
|
+
"end": "(?<!^|\\s)___*_(?=$|[^\\w|\\d])",
|
276
|
+
"name": "markup.bold.italic.gfm"
|
277
|
+
},
|
278
|
+
{
|
279
|
+
"begin": "(?<=^|[^\\w\\d\\*])\\*\\*(?!$|\\*|\\s)",
|
280
|
+
"end": "(?<!^|\\s)\\*\\**\\*(?=$|[^\\w|\\d])",
|
281
|
+
"name": "markup.bold.gfm"
|
282
|
+
},
|
283
|
+
{
|
284
|
+
"begin": "(?<=^|[^\\w\\d_])__(?!$|_|\\s)",
|
285
|
+
"end": "(?<!^|\\s)__*_(?=$|[^\\w|\\d])",
|
286
|
+
"name": "markup.bold.gfm"
|
287
|
+
},
|
288
|
+
{
|
289
|
+
"begin": "(?<=^|[^\\w\\d\\*])\\*(?!$|\\*|\\s)",
|
290
|
+
"end": "(?<!^|\\s)\\**\\*(?=$|[^\\w|\\d])",
|
291
|
+
"name": "markup.italic.gfm"
|
292
|
+
},
|
293
|
+
{
|
294
|
+
"begin": "(?<=^|[^\\w\\d_\\{\\}])_(?!$|_|\\s)",
|
295
|
+
"end": "(?<!^|\\s)_*_(?=$|[^\\w|\\d])",
|
296
|
+
"name": "markup.italic.gfm"
|
297
|
+
},
|
298
|
+
{
|
299
|
+
"begin": "(?<=^|[^\\w\\d~])~~(?!$|~|\\s)",
|
300
|
+
"end": "(?<!^|\\s)~~*~(?=$|[^\\w|\\d])",
|
301
|
+
"name": "markup.strike.gfm"
|
302
|
+
},
|
303
|
+
{
|
304
|
+
"begin": "^(#{6})(\\s*)",
|
305
|
+
"end": "$",
|
306
|
+
"name": "markup.heading.heading-6.gfm",
|
307
|
+
"captures": {
|
308
|
+
"1": {
|
309
|
+
"name": "markup.heading.marker.gfm"
|
310
|
+
},
|
311
|
+
"2": {
|
312
|
+
"name": "markup.heading.space.gfm"
|
313
|
+
}
|
314
|
+
},
|
315
|
+
"patterns": [
|
316
|
+
{
|
317
|
+
"include": "$self"
|
318
|
+
}
|
319
|
+
]
|
320
|
+
},
|
321
|
+
{
|
322
|
+
"begin": "^(#{5})(\\s*)",
|
323
|
+
"end": "$",
|
324
|
+
"name": "markup.heading.heading-5.gfm",
|
325
|
+
"captures": {
|
326
|
+
"1": {
|
327
|
+
"name": "markup.heading.marker.gfm"
|
328
|
+
},
|
329
|
+
"2": {
|
330
|
+
"name": "markup.heading.space.gfm"
|
331
|
+
}
|
332
|
+
},
|
333
|
+
"patterns": [
|
334
|
+
{
|
335
|
+
"include": "$self"
|
336
|
+
}
|
337
|
+
]
|
338
|
+
},
|
339
|
+
{
|
340
|
+
"begin": "^(#{4})(\\s*)",
|
341
|
+
"end": "$",
|
342
|
+
"name": "markup.heading.heading-4.gfm",
|
343
|
+
"captures": {
|
344
|
+
"1": {
|
345
|
+
"name": "markup.heading.marker.gfm"
|
346
|
+
},
|
347
|
+
"2": {
|
348
|
+
"name": "markup.heading.space.gfm"
|
349
|
+
}
|
350
|
+
},
|
351
|
+
"patterns": [
|
352
|
+
{
|
353
|
+
"include": "$self"
|
354
|
+
}
|
355
|
+
]
|
356
|
+
},
|
357
|
+
{
|
358
|
+
"begin": "^(#{3})(\\s*)",
|
359
|
+
"end": "$",
|
360
|
+
"name": "markup.heading.heading-3.gfm",
|
361
|
+
"captures": {
|
362
|
+
"1": {
|
363
|
+
"name": "markup.heading.marker.gfm"
|
364
|
+
},
|
365
|
+
"2": {
|
366
|
+
"name": "markup.heading.space.gfm"
|
367
|
+
}
|
368
|
+
},
|
369
|
+
"patterns": [
|
370
|
+
{
|
371
|
+
"include": "$self"
|
372
|
+
}
|
373
|
+
]
|
374
|
+
},
|
375
|
+
{
|
376
|
+
"begin": "^(#{2})(\\s*)",
|
377
|
+
"end": "$",
|
378
|
+
"name": "markup.heading.heading-2.gfm",
|
379
|
+
"captures": {
|
380
|
+
"1": {
|
381
|
+
"name": "markup.heading.marker.gfm"
|
382
|
+
},
|
383
|
+
"2": {
|
384
|
+
"name": "markup.heading.space.gfm"
|
385
|
+
}
|
386
|
+
},
|
387
|
+
"patterns": [
|
388
|
+
{
|
389
|
+
"include": "$self"
|
390
|
+
}
|
391
|
+
]
|
392
|
+
},
|
393
|
+
{
|
394
|
+
"begin": "^(#{1})(\\s*)",
|
395
|
+
"end": "$",
|
396
|
+
"name": "markup.heading.heading-1.gfm",
|
397
|
+
"captures": {
|
398
|
+
"1": {
|
399
|
+
"name": "markup.heading.marker.gfm"
|
400
|
+
},
|
401
|
+
"2": {
|
402
|
+
"name": "markup.heading.space.gfm"
|
403
|
+
}
|
404
|
+
},
|
405
|
+
"patterns": [
|
406
|
+
{
|
407
|
+
"include": "$self"
|
408
|
+
}
|
409
|
+
]
|
410
|
+
},
|
411
|
+
{
|
412
|
+
"match": "(:)(\\+1|\\-1|100|1234|8ball|a|ab|abc|abcd|accept|aerial_tramway|airplane|alarm_clock|alien|ambulance|anchor|angel|anger|angry|anguished|ant|apple|aquarius|aries|arrow_backward|arrow_double_down|arrow_double_up|arrow_down|arrow_down_small|arrow_forward|arrow_heading_down|arrow_heading_up|arrow_left|arrow_lower_left|arrow_lower_right|arrow_right|arrow_right_hook|arrow_up|arrow_up_down|arrow_up_small|arrow_upper_left|arrow_upper_right|arrows_clockwise|arrows_counterclockwise|art|articulated_lorry|astonished|atm|b|baby|baby_bottle|baby_chick|baby_symbol|back|baggage_claim|balloon|ballot_box_with_check|bamboo|banana|bangbang|bank|bar_chart|barber|baseball|basketball|bath|bathtub|battery|bear|bee|beer|beers|beetle|beginner|bell|bento|bicyclist|bike|bikini|bird|birthday|black_circle|black_joker|black_medium_small_square|black_medium_square|black_nib|black_small_square|black_square|black_square_button|blossom|blowfish|blue_book|blue_car|blue_heart|blush|boar|boat|bomb|book|bookmark|bookmark_tabs|books|boom|boot|bouquet|bow|bowling|bowtie|boy|bread|bride_with_veil|bridge_at_night|briefcase|broken_heart|bug|bulb|bullettrain_front|bullettrain_side|bus|busstop|bust_in_silhouette|busts_in_silhouette|cactus|cake|calendar|calling|camel|camera|cancer|candy|capital_abcd|capricorn|car|card_index|carousel_horse|cat|cat2|cd|chart|chart_with_downwards_trend|chart_with_upwards_trend|checkered_flag|cherries|cherry_blossom|chestnut|chicken|children_crossing|chocolate_bar|christmas_tree|church|cinema|circus_tent|city_sunrise|city_sunset|cl|clap|clapper|clipboard|clock1|clock10|clock1030|clock11|clock1130|clock12|clock1230|clock130|clock2|clock230|clock3|clock330|clock4|clock430|clock5|clock530|clock6|clock630|clock7|clock730|clock8|clock830|clock9|clock930|closed_book|closed_lock_with_key|closed_umbrella|cloud|clubs|cn|cocktail|coffee|cold_sweat|collision|computer|confetti_ball|confounded|confused|congratulations|construction|construction_worker|convenience_store|cookie|cool|cop|copyright|corn|couple|couple_with_heart|couplekiss|cow|cow2|credit_card|crocodile|crossed_flags|crown|cry|crying_cat_face|crystal_ball|cupid|curly_loop|currency_exchange|curry|custard|customs|cyclone|dancer|dancers|dango|dart|dash|date|de|deciduous_tree|department_store|diamond_shape_with_a_dot_inside|diamonds|disappointed|disappointed_relieved|dizzy|dizzy_face|do_not_litter|dog|dog2|dollar|dolls|dolphin|donut|door|doughnut|dragon|dragon_face|dress|dromedary_camel|droplet|dvd|e\\-mail|ear|ear_of_rice|earth_africa|earth_americas|earth_asia|egg|eggplant|eight|eight_pointed_black_star|eight_spoked_asterisk|electric_plug|elephant|email|end|envelope|es|euro|european_castle|european_post_office|evergreen_tree|exclamation|expressionless|eyeglasses|eyes|facepunch|factory|fallen_leaf|family|fast_forward|fax|fearful|feelsgood|feet|ferris_wheel|file_folder|finnadie|fire|fire_engine|fireworks|first_quarter_moon|first_quarter_moon_with_face|fish|fish_cake|fishing_pole_and_fish|fist|five|flags|flashlight|floppy_disk|flower_playing_cards|flushed|foggy|football|fork_and_knife|fountain|four|four_leaf_clover|fr|free|fried_shrimp|fries|frog|frowning|fu|fuelpump|full_moon|full_moon_with_face|game_die|gb|gem|gemini|ghost|gift|gift_heart|girl|globe_with_meridians|goat|goberserk|godmode|golf|grapes|green_apple|green_book|green_heart|grey_exclamation|grey_question|grimacing|grin|grinning|guardsman|guitar|gun|haircut|hamburger|hammer|hamster|hand|handbag|hankey|hash|hatched_chick|hatching_chick|headphones|hear_no_evil|heart|heart_decoration|heart_eyes|heart_eyes_cat|heartbeat|heartpulse|hearts|heavy_check_mark|heavy_division_sign|heavy_dollar_sign|heavy_exclamation_mark|heavy_minus_sign|heavy_multiplication_x|heavy_plus_sign|helicopter|herb|hibiscus|high_brightness|high_heel|hocho|honey_pot|honeybee|horse|horse_racing|hospital|hotel|hotsprings|hourglass|hourglass_flowing_sand|house|house_with_garden|hurtrealbad|hushed|ice_cream|icecream|id|ideograph_advantage|imp|inbox_tray|incoming_envelope|information_desk_person|information_source|innocent|interrobang|iphone|it|izakaya_lantern|jack_o_lantern|japan|japanese_castle|japanese_goblin|japanese_ogre|jeans|joy|joy_cat|jp|key|keycap_ten|kimono|kiss|kissing|kissing_cat|kissing_closed_eyes|kissing_face|kissing_heart|kissing_smiling_eyes|koala|koko|kr|large_blue_circle|large_blue_diamond|large_orange_diamond|last_quarter_moon|last_quarter_moon_with_face|laughing|leaves|ledger|left_luggage|left_right_arrow|leftwards_arrow_with_hook|lemon|leo|leopard|libra|light_rail|link|lips|lipstick|lock|lock_with_ink_pen|lollipop|loop|loudspeaker|love_hotel|love_letter|low_brightness|m|mag|mag_right|mahjong|mailbox|mailbox_closed|mailbox_with_mail|mailbox_with_no_mail|man|man_with_gua_pi_mao|man_with_turban|mans_shoe|maple_leaf|mask|massage|meat_on_bone|mega|melon|memo|mens|metal|metro|microphone|microscope|milky_way|minibus|minidisc|mobile_phone_off|money_with_wings|moneybag|monkey|monkey_face|monorail|moon|mortar_board|mount_fuji|mountain_bicyclist|mountain_cableway|mountain_railway|mouse|mouse2|movie_camera|moyai|muscle|mushroom|musical_keyboard|musical_note|musical_score|mute|nail_care|name_badge|neckbeard|necktie|negative_squared_cross_mark|neutral_face|new|new_moon|new_moon_with_face|newspaper|ng|nine|no_bell|no_bicycles|no_entry|no_entry_sign|no_good|no_mobile_phones|no_mouth|no_pedestrians|no_smoking|non\\-potable_water|nose|notebook|notebook_with_decorative_cover|notes|nut_and_bolt|o|o2|ocean|octocat|octopus|oden|office|ok|ok_hand|ok_woman|older_man|older_woman|on|oncoming_automobile|oncoming_bus|oncoming_police_car|oncoming_taxi|one|open_file_folder|open_hands|open_mouth|ophiuchus|orange_book|outbox_tray|ox|package|page_facing_up|page_with_curl|pager|palm_tree|panda_face|paperclip|parking|part_alternation_mark|partly_sunny|passport_control|paw_prints|peach|pear|pencil|pencil2|penguin|pensive|performing_arts|persevere|person_frowning|person_with_blond_hair|person_with_pouting_face|phone|pig|pig2|pig_nose|pill|pineapple|pisces|pizza|plus1|point_down|point_left|point_right|point_up|point_up_2|police_car|poodle|poop|post_office|postal_horn|postbox|potable_water|pouch|poultry_leg|pound|pouting_cat|pray|princess|punch|purple_heart|purse|pushpin|put_litter_in_its_place|question|rabbit|rabbit2|racehorse|radio|radio_button|rage|rage1|rage2|rage3|rage4|railway_car|rainbow|raised_hand|raised_hands|raising_hand|ram|ramen|rat|recycle|red_car|red_circle|registered|relaxed|relieved|repeat|repeat_one|restroom|revolving_hearts|rewind|ribbon|rice|rice_ball|rice_cracker|rice_scene|ring|rocket|roller_coaster|rooster|rose|rotating_light|round_pushpin|rowboat|ru|rugby_football|runner|running|running_shirt_with_sash|sa|sagittarius|sailboat|sake|sandal|santa|satellite|satisfied|saxophone|school|school_satchel|scissors|scorpius|scream|scream_cat|scroll|seat|secret|see_no_evil|seedling|seven|shaved_ice|sheep|shell|ship|shipit|shirt|shit|shoe|shower|signal_strength|six|six_pointed_star|ski|skull|sleeping|sleepy|slot_machine|small_blue_diamond|small_orange_diamond|small_red_triangle|small_red_triangle_down|smile|smile_cat|smiley|smiley_cat|smiling_imp|smirk|smirk_cat|smoking|snail|snake|snowboarder|snowflake|snowman|sob|soccer|soon|sos|sound|space_invader|spades|spaghetti|sparkle|sparkler|sparkles|sparkling_heart|speak_no_evil|speaker|speech_balloon|speedboat|squirrel|star|star2|stars|station|statue_of_liberty|steam_locomotive|stew|straight_ruler|strawberry|stuck_out_tongue|stuck_out_tongue_closed_eyes|stuck_out_tongue_winking_eye|sun_with_face|sunflower|sunglasses|sunny|sunrise|sunrise_over_mountains|surfer|sushi|suspect|suspension_railway|sweat|sweat_drops|sweat_smile|sweet_potato|swimmer|symbols|syringe|tada|tanabata_tree|tangerine|taurus|taxi|tea|telephone|telephone_receiver|telescope|tennis|tent|thought_balloon|three|thumbsdown|thumbsup|ticket|tiger|tiger2|tired_face|tm|toilet|tokyo_tower|tomato|tongue|top|tophat|tractor|traffic_light|train|train2|tram|triangular_flag_on_post|triangular_ruler|trident|triumph|trolleybus|trollface|trophy|tropical_drink|tropical_fish|truck|trumpet|tshirt|tulip|turtle|tv|twisted_rightwards_arrows|two|two_hearts|two_men_holding_hands|two_women_holding_hands|u5272|u5408|u55b6|u6307|u6708|u6709|u6e80|u7121|u7533|u7981|u7a7a|uk|umbrella|unamused|underage|unlock|up|us|v|vertical_traffic_light|vhs|vibration_mode|video_camera|video_game|violin|virgo|volcano|vs|walking|waning_crescent_moon|waning_gibbous_moon|warning|watch|water_buffalo|watermelon|wave|wavy_dash|waxing_crescent_moon|waxing_gibbous_moon|wc|weary|wedding|whale|whale2|wheelchair|white_check_mark|white_circle|white_flower|white_large_square|white_medium_small_square|white_medium_square|white_small_square|white_square_button|wind_chime|wine_glass|wink|wolf|woman|womans_clothes|womans_hat|womens|worried|wrench|x|yellow_heart|yen|yum|zap|zero|zzz)(:)",
|
413
|
+
"name": "string.emoji.gfm",
|
414
|
+
"captures": {
|
415
|
+
"1": {
|
416
|
+
"name": "string.emoji.start.gfm"
|
417
|
+
},
|
418
|
+
"2": {
|
419
|
+
"name": "string.emoji.word.gfm"
|
420
|
+
},
|
421
|
+
"3": {
|
422
|
+
"name": "string.emoji.end.gfm"
|
423
|
+
}
|
424
|
+
}
|
425
|
+
},
|
426
|
+
{
|
427
|
+
"match": "(&)[a-zA-Z0-9]+(;)",
|
428
|
+
"name": "constant.character.entity.gfm",
|
429
|
+
"captures": {
|
430
|
+
"1": {
|
431
|
+
"name": "punctuation.definition.entity.gfm"
|
432
|
+
},
|
433
|
+
"2": {
|
434
|
+
"name": "punctuation.definition.entity.gfm"
|
435
|
+
}
|
436
|
+
}
|
437
|
+
},
|
438
|
+
{
|
439
|
+
"match": "(&)#[0-9]+(;)",
|
440
|
+
"name": "constant.character.entity.gfm",
|
441
|
+
"captures": {
|
442
|
+
"1": {
|
443
|
+
"name": "punctuation.definition.entity.gfm"
|
444
|
+
},
|
445
|
+
"2": {
|
446
|
+
"name": "punctuation.definition.entity.gfm"
|
447
|
+
}
|
448
|
+
}
|
449
|
+
},
|
450
|
+
{
|
451
|
+
"match": "(&)#x[0-9a-fA-F]+(;)",
|
452
|
+
"name": "constant.character.entity.gfm",
|
453
|
+
"captures": {
|
454
|
+
"1": {
|
455
|
+
"name": "punctuation.definition.entity.gfm"
|
456
|
+
},
|
457
|
+
"2": {
|
458
|
+
"name": "punctuation.definition.entity.gfm"
|
459
|
+
}
|
460
|
+
}
|
461
|
+
},
|
462
|
+
{
|
463
|
+
"begin": "\\A---$",
|
464
|
+
"end": "^(---|\\.\\.\\.)$",
|
465
|
+
"captures": {
|
466
|
+
"0": {
|
467
|
+
"name": "comment.hr.gfm"
|
468
|
+
}
|
469
|
+
},
|
470
|
+
"name": "front-matter.yaml.gfm",
|
471
|
+
"patterns": [
|
472
|
+
{
|
473
|
+
"include": "source.yaml"
|
474
|
+
}
|
475
|
+
]
|
476
|
+
},
|
477
|
+
{
|
478
|
+
"match": "^\\s*[*]{3,}\\s*$",
|
479
|
+
"name": "comment.hr.gfm"
|
480
|
+
},
|
481
|
+
{
|
482
|
+
"match": "^\\s*[-]{3,}\\s*$",
|
483
|
+
"name": "comment.hr.gfm"
|
484
|
+
},
|
485
|
+
{
|
486
|
+
"begin": "^\\s*[`~]{3,}\\s*coffee-?(script)?\\s*$",
|
487
|
+
"beginCaptures": {
|
488
|
+
"0": {
|
489
|
+
"name": "support.gfm"
|
490
|
+
}
|
491
|
+
},
|
492
|
+
"end": "^\\s*[`~]{3,}$",
|
493
|
+
"endCaptures": {
|
494
|
+
"0": {
|
495
|
+
"name": "support.gfm"
|
496
|
+
}
|
497
|
+
},
|
498
|
+
"name": "markup.code.coffee.gfm",
|
499
|
+
"contentName": "source.coffee",
|
500
|
+
"patterns": [
|
501
|
+
{
|
502
|
+
"include": "source.coffee"
|
503
|
+
}
|
504
|
+
]
|
505
|
+
},
|
506
|
+
{
|
507
|
+
"begin": "^\\s*([`~]{3,})\\s*(javascript|js)\\s*$",
|
508
|
+
"beginCaptures": {
|
509
|
+
"0": {
|
510
|
+
"name": "support.gfm"
|
511
|
+
}
|
512
|
+
},
|
513
|
+
"end": "^\\s*\\1$",
|
514
|
+
"endCaptures": {
|
515
|
+
"0": {
|
516
|
+
"name": "support.gfm"
|
517
|
+
}
|
518
|
+
},
|
519
|
+
"name": "markup.code.js.gfm",
|
520
|
+
"contentName": "source.js",
|
521
|
+
"patterns": [
|
522
|
+
{
|
523
|
+
"include": "source.js"
|
524
|
+
}
|
525
|
+
]
|
526
|
+
},
|
527
|
+
{
|
528
|
+
"begin": "^\\s*([`~]{3,})\\s*(markdown|mdown|md)\\s*$",
|
529
|
+
"beginCaptures": {
|
530
|
+
"0": {
|
531
|
+
"name": "support.gfm"
|
532
|
+
}
|
533
|
+
},
|
534
|
+
"end": "^\\s*\\1$",
|
535
|
+
"endCaptures": {
|
536
|
+
"0": {
|
537
|
+
"name": "support.gfm"
|
538
|
+
}
|
539
|
+
},
|
540
|
+
"name": "markup.code.gfm",
|
541
|
+
"patterns": [
|
542
|
+
{
|
543
|
+
"include": "$self"
|
544
|
+
}
|
545
|
+
]
|
546
|
+
},
|
547
|
+
{
|
548
|
+
"begin": "^\\s*([`~]{3,})\\s*json\\s*$",
|
549
|
+
"beginCaptures": {
|
550
|
+
"0": {
|
551
|
+
"name": "support.gfm"
|
552
|
+
}
|
553
|
+
},
|
554
|
+
"end": "^\\s*\\1$",
|
555
|
+
"endCaptures": {
|
556
|
+
"0": {
|
557
|
+
"name": "support.gfm"
|
558
|
+
}
|
559
|
+
},
|
560
|
+
"name": "markup.code.json.gfm",
|
561
|
+
"contentName": "source.json",
|
562
|
+
"patterns": [
|
563
|
+
{
|
564
|
+
"include": "source.json"
|
565
|
+
}
|
566
|
+
]
|
567
|
+
},
|
568
|
+
{
|
569
|
+
"begin": "^\\s*([`~]{3,})\\s*css\\s*$",
|
570
|
+
"beginCaptures": {
|
571
|
+
"0": {
|
572
|
+
"name": "support.gfm"
|
573
|
+
}
|
574
|
+
},
|
575
|
+
"end": "^\\s*\\1$",
|
576
|
+
"endCaptures": {
|
577
|
+
"0": {
|
578
|
+
"name": "support.gfm"
|
579
|
+
}
|
580
|
+
},
|
581
|
+
"name": "markup.code.css.gfm",
|
582
|
+
"contentName": "source.css",
|
583
|
+
"patterns": [
|
584
|
+
{
|
585
|
+
"include": "source.css"
|
586
|
+
}
|
587
|
+
]
|
588
|
+
},
|
589
|
+
{
|
590
|
+
"begin": "^\\s*([`~]{3,})\\s*less\\s*$",
|
591
|
+
"beginCaptures": {
|
592
|
+
"0": {
|
593
|
+
"name": "support.gfm"
|
594
|
+
}
|
595
|
+
},
|
596
|
+
"end": "^\\s*\\1$",
|
597
|
+
"endCaptures": {
|
598
|
+
"0": {
|
599
|
+
"name": "support.gfm"
|
600
|
+
}
|
601
|
+
},
|
602
|
+
"name": "markup.code.less.gfm",
|
603
|
+
"contentName": "source.css.less",
|
604
|
+
"patterns": [
|
605
|
+
{
|
606
|
+
"include": "source.css.less"
|
607
|
+
}
|
608
|
+
]
|
609
|
+
},
|
610
|
+
{
|
611
|
+
"begin": "^\\s*([`~]{3,})\\s*xml\\s*$",
|
612
|
+
"beginCaptures": {
|
613
|
+
"0": {
|
614
|
+
"name": "support.gfm"
|
615
|
+
}
|
616
|
+
},
|
617
|
+
"end": "^\\s*\\1$",
|
618
|
+
"endCaptures": {
|
619
|
+
"0": {
|
620
|
+
"name": "support.gfm"
|
621
|
+
}
|
622
|
+
},
|
623
|
+
"name": "markup.code.xml.gfm",
|
624
|
+
"contentName": "text.xml",
|
625
|
+
"patterns": [
|
626
|
+
{
|
627
|
+
"include": "text.xml"
|
628
|
+
}
|
629
|
+
]
|
630
|
+
},
|
631
|
+
{
|
632
|
+
"begin": "^\\s*([`~]{3,})\\s*(ruby|rb)\\s*$",
|
633
|
+
"beginCaptures": {
|
634
|
+
"0": {
|
635
|
+
"name": "support.gfm"
|
636
|
+
}
|
637
|
+
},
|
638
|
+
"end": "^\\s*\\1$",
|
639
|
+
"endCaptures": {
|
640
|
+
"0": {
|
641
|
+
"name": "support.gfm"
|
642
|
+
}
|
643
|
+
},
|
644
|
+
"name": "markup.code.ruby.gfm",
|
645
|
+
"contentName": "source.ruby",
|
646
|
+
"patterns": [
|
647
|
+
{
|
648
|
+
"include": "source.ruby"
|
649
|
+
}
|
650
|
+
]
|
651
|
+
},
|
652
|
+
{
|
653
|
+
"begin": "^\\s*([`~]{3,})\\s*java\\s*$",
|
654
|
+
"beginCaptures": {
|
655
|
+
"0": {
|
656
|
+
"name": "support.gfm"
|
657
|
+
}
|
658
|
+
},
|
659
|
+
"end": "^\\s*\\1$",
|
660
|
+
"endCaptures": {
|
661
|
+
"0": {
|
662
|
+
"name": "support.gfm"
|
663
|
+
}
|
664
|
+
},
|
665
|
+
"name": "markup.code.java.gfm",
|
666
|
+
"contentName": "source.java",
|
667
|
+
"patterns": [
|
668
|
+
{
|
669
|
+
"include": "source.java"
|
670
|
+
}
|
671
|
+
]
|
672
|
+
},
|
673
|
+
{
|
674
|
+
"begin": "^\\s*([`~]{3,})\\s*erlang\\s*$",
|
675
|
+
"beginCaptures": {
|
676
|
+
"0": {
|
677
|
+
"name": "support.gfm"
|
678
|
+
}
|
679
|
+
},
|
680
|
+
"end": "^\\s*\\1$",
|
681
|
+
"endCaptures": {
|
682
|
+
"0": {
|
683
|
+
"name": "support.gfm"
|
684
|
+
}
|
685
|
+
},
|
686
|
+
"name": "markup.code.erlang.gfm",
|
687
|
+
"contentName": "source.erlang",
|
688
|
+
"patterns": [
|
689
|
+
{
|
690
|
+
"include": "source.erlang"
|
691
|
+
}
|
692
|
+
]
|
693
|
+
},
|
694
|
+
{
|
695
|
+
"begin": "^\\s*([`~]{3,})\\s*go(lang)?\\s*$",
|
696
|
+
"beginCaptures": {
|
697
|
+
"0": {
|
698
|
+
"name": "support.gfm"
|
699
|
+
}
|
700
|
+
},
|
701
|
+
"end": "^\\s*\\1$",
|
702
|
+
"endCaptures": {
|
703
|
+
"0": {
|
704
|
+
"name": "support.gfm"
|
705
|
+
}
|
706
|
+
},
|
707
|
+
"name": "markup.code.go.gfm",
|
708
|
+
"contentName": "source.go",
|
709
|
+
"patterns": [
|
710
|
+
{
|
711
|
+
"include": "source.go"
|
712
|
+
}
|
713
|
+
]
|
714
|
+
},
|
715
|
+
{
|
716
|
+
"begin": "^\\s*([`~]{3,})\\s*cs(harp)?\\s*$",
|
717
|
+
"beginCaptures": {
|
718
|
+
"0": {
|
719
|
+
"name": "support.gfm"
|
720
|
+
}
|
721
|
+
},
|
722
|
+
"end": "^\\s*\\1$",
|
723
|
+
"endCaptures": {
|
724
|
+
"0": {
|
725
|
+
"name": "support.gfm"
|
726
|
+
}
|
727
|
+
},
|
728
|
+
"name": "markup.code.cs.gfm",
|
729
|
+
"contentName": "source.cs",
|
730
|
+
"patterns": [
|
731
|
+
{
|
732
|
+
"include": "source.cs"
|
733
|
+
}
|
734
|
+
]
|
735
|
+
},
|
736
|
+
{
|
737
|
+
"begin": "^\\s*([`~]{3,})\\s*php\\s*$",
|
738
|
+
"beginCaptures": {
|
739
|
+
"0": {
|
740
|
+
"name": "support.gfm"
|
741
|
+
}
|
742
|
+
},
|
743
|
+
"end": "^\\s*\\1$",
|
744
|
+
"endCaptures": {
|
745
|
+
"0": {
|
746
|
+
"name": "support.gfm"
|
747
|
+
}
|
748
|
+
},
|
749
|
+
"name": "markup.code.php.gfm",
|
750
|
+
"contentName": "source.php",
|
751
|
+
"patterns": [
|
752
|
+
{
|
753
|
+
"include": "source.php"
|
754
|
+
}
|
755
|
+
]
|
756
|
+
},
|
757
|
+
{
|
758
|
+
"begin": "^\\s*([`~]{3,})\\s*(sh|bash)\\s*$",
|
759
|
+
"beginCaptures": {
|
760
|
+
"0": {
|
761
|
+
"name": "support.gfm"
|
762
|
+
}
|
763
|
+
},
|
764
|
+
"end": "^\\s*\\1$",
|
765
|
+
"endCaptures": {
|
766
|
+
"0": {
|
767
|
+
"name": "support.gfm"
|
768
|
+
}
|
769
|
+
},
|
770
|
+
"name": "markup.code.shell.gfm",
|
771
|
+
"contentName": "source.shell",
|
772
|
+
"patterns": [
|
773
|
+
{
|
774
|
+
"include": "source.shell"
|
775
|
+
}
|
776
|
+
]
|
777
|
+
},
|
778
|
+
{
|
779
|
+
"begin": "^\\s*([`~]{3,})\\s*py(thon)?\\s*$",
|
780
|
+
"beginCaptures": {
|
781
|
+
"0": {
|
782
|
+
"name": "support.gfm"
|
783
|
+
}
|
784
|
+
},
|
785
|
+
"end": "^\\s*\\1$",
|
786
|
+
"endCaptures": {
|
787
|
+
"0": {
|
788
|
+
"name": "support.gfm"
|
789
|
+
}
|
790
|
+
},
|
791
|
+
"name": "markup.code.python.gfm",
|
792
|
+
"contentName": "source.python",
|
793
|
+
"patterns": [
|
794
|
+
{
|
795
|
+
"include": "source.python"
|
796
|
+
}
|
797
|
+
]
|
798
|
+
},
|
799
|
+
{
|
800
|
+
"begin": "^\\s*([`~]{3,})\\s*c\\s*$",
|
801
|
+
"beginCaptures": {
|
802
|
+
"0": {
|
803
|
+
"name": "support.gfm"
|
804
|
+
}
|
805
|
+
},
|
806
|
+
"end": "^\\s*\\1$",
|
807
|
+
"endCaptures": {
|
808
|
+
"0": {
|
809
|
+
"name": "support.gfm"
|
810
|
+
}
|
811
|
+
},
|
812
|
+
"name": "markup.code.c.gfm",
|
813
|
+
"contentName": "source.c",
|
814
|
+
"patterns": [
|
815
|
+
{
|
816
|
+
"include": "source.c"
|
817
|
+
}
|
818
|
+
]
|
819
|
+
},
|
820
|
+
{
|
821
|
+
"begin": "^\\s*([`~]{3,})\\s*c(pp|\\+\\+)\\s*$",
|
822
|
+
"beginCaptures": {
|
823
|
+
"0": {
|
824
|
+
"name": "support.gfm"
|
825
|
+
}
|
826
|
+
},
|
827
|
+
"end": "^\\s*\\1$",
|
828
|
+
"endCaptures": {
|
829
|
+
"0": {
|
830
|
+
"name": "support.gfm"
|
831
|
+
}
|
832
|
+
},
|
833
|
+
"name": "markup.code.cpp.gfm",
|
834
|
+
"contentName": "source.cpp",
|
835
|
+
"patterns": [
|
836
|
+
{
|
837
|
+
"include": "source.cpp"
|
838
|
+
}
|
839
|
+
]
|
840
|
+
},
|
841
|
+
{
|
842
|
+
"begin": "^\\s*([`~]{3,})\\s*(objc|objective-c)\\s*$",
|
843
|
+
"beginCaptures": {
|
844
|
+
"0": {
|
845
|
+
"name": "support.gfm"
|
846
|
+
}
|
847
|
+
},
|
848
|
+
"end": "^\\s*\\1$",
|
849
|
+
"endCaptures": {
|
850
|
+
"0": {
|
851
|
+
"name": "support.gfm"
|
852
|
+
}
|
853
|
+
},
|
854
|
+
"name": "markup.code.objc.gfm",
|
855
|
+
"contentName": "source.objc",
|
856
|
+
"patterns": [
|
857
|
+
{
|
858
|
+
"include": "source.objc"
|
859
|
+
}
|
860
|
+
]
|
861
|
+
},
|
862
|
+
{
|
863
|
+
"begin": "^\\s*([`~]{3,})\\s*html\\s*$",
|
864
|
+
"beginCaptures": {
|
865
|
+
"0": {
|
866
|
+
"name": "support.gfm"
|
867
|
+
}
|
868
|
+
},
|
869
|
+
"end": "^\\s*\\1$",
|
870
|
+
"endCaptures": {
|
871
|
+
"0": {
|
872
|
+
"name": "support.gfm"
|
873
|
+
}
|
874
|
+
},
|
875
|
+
"name": "markup.code.html.gfm",
|
876
|
+
"contentName": "source.html.basic",
|
877
|
+
"patterns": [
|
878
|
+
{
|
879
|
+
"include": "text.html.basic"
|
880
|
+
}
|
881
|
+
]
|
882
|
+
},
|
883
|
+
{
|
884
|
+
"begin": "^\\s*([`~]{3,})\\s*ya?ml\\s*$",
|
885
|
+
"beginCaptures": {
|
886
|
+
"0": {
|
887
|
+
"name": "support.gfm"
|
888
|
+
}
|
889
|
+
},
|
890
|
+
"end": "^\\s*\\1$",
|
891
|
+
"endCaptures": {
|
892
|
+
"0": {
|
893
|
+
"name": "support.gfm"
|
894
|
+
}
|
895
|
+
},
|
896
|
+
"name": "markup.code.yaml.gfm",
|
897
|
+
"contentName": "source.yaml",
|
898
|
+
"patterns": [
|
899
|
+
{
|
900
|
+
"include": "source.yaml"
|
901
|
+
}
|
902
|
+
]
|
903
|
+
},
|
904
|
+
{
|
905
|
+
"begin": "^\\s*([`~]{3,})\\s*elixir\\s*$",
|
906
|
+
"beginCaptures": {
|
907
|
+
"0": {
|
908
|
+
"name": "support.gfm"
|
909
|
+
}
|
910
|
+
},
|
911
|
+
"end": "^\\s*\\1$",
|
912
|
+
"endCaptures": {
|
913
|
+
"0": {
|
914
|
+
"name": "support.gfm"
|
915
|
+
}
|
916
|
+
},
|
917
|
+
"name": "markup.code.elixir.gfm",
|
918
|
+
"contentName": "source.elixir",
|
919
|
+
"patterns": [
|
920
|
+
{
|
921
|
+
"include": "source.elixir"
|
922
|
+
}
|
923
|
+
]
|
924
|
+
},
|
925
|
+
{
|
926
|
+
"begin": "^\\s*([`~]{3,})\\s*(diff|patch|rej)\\s*$",
|
927
|
+
"beginCaptures": {
|
928
|
+
"0": {
|
929
|
+
"name": "support.gfm"
|
930
|
+
}
|
931
|
+
},
|
932
|
+
"end": "^\\s*\\1$",
|
933
|
+
"endCaptures": {
|
934
|
+
"0": {
|
935
|
+
"name": "support.gfm"
|
936
|
+
}
|
937
|
+
},
|
938
|
+
"name": "markup.code.diff.gfm",
|
939
|
+
"contentName": "source.diff",
|
940
|
+
"patterns": [
|
941
|
+
{
|
942
|
+
"include": "source.diff"
|
943
|
+
}
|
944
|
+
]
|
945
|
+
},
|
946
|
+
{
|
947
|
+
"begin": "^\\s*([`~]{3,})\\s*julia\\s*$",
|
948
|
+
"beginCaptures": {
|
949
|
+
"0": {
|
950
|
+
"name": "support.gfm"
|
951
|
+
}
|
952
|
+
},
|
953
|
+
"end": "^\\s*\\1$",
|
954
|
+
"endCaptures": {
|
955
|
+
"0": {
|
956
|
+
"name": "support.gfm"
|
957
|
+
}
|
958
|
+
},
|
959
|
+
"name": "markup.code.julia.gfm",
|
960
|
+
"contentName": "source.julia",
|
961
|
+
"patterns": [
|
962
|
+
{
|
963
|
+
"include": "source.julia"
|
964
|
+
}
|
965
|
+
]
|
966
|
+
},
|
967
|
+
{
|
968
|
+
"begin": "^\\s*([`~]{3,})\\s*r\\s*$",
|
969
|
+
"beginCaptures": {
|
970
|
+
"0": {
|
971
|
+
"name": "support.gfm"
|
972
|
+
}
|
973
|
+
},
|
974
|
+
"end": "^\\s*\\1$",
|
975
|
+
"endCaptures": {
|
976
|
+
"0": {
|
977
|
+
"name": "support.gfm"
|
978
|
+
}
|
979
|
+
},
|
980
|
+
"name": "markup.code.r.gfm",
|
981
|
+
"contentName": "source.r",
|
982
|
+
"patterns": [
|
983
|
+
{
|
984
|
+
"include": "source.r"
|
985
|
+
}
|
986
|
+
]
|
987
|
+
},
|
988
|
+
{
|
989
|
+
"begin": "^\\s*([`~]{3,}).*$",
|
990
|
+
"beginCaptures": {
|
991
|
+
"0": {
|
992
|
+
"name": "support.gfm"
|
993
|
+
}
|
994
|
+
},
|
995
|
+
"end": "^\\s*\\1$",
|
996
|
+
"endCaptures": {
|
997
|
+
"0": {
|
998
|
+
"name": "support.gfm"
|
999
|
+
}
|
1000
|
+
},
|
1001
|
+
"name": "markup.raw.gfm"
|
1002
|
+
},
|
1003
|
+
{
|
1004
|
+
"begin": "(`+)(?!$)",
|
1005
|
+
"end": "\\1",
|
1006
|
+
"name": "markup.raw.gfm markup.raw.inline"
|
1007
|
+
},
|
1008
|
+
{
|
1009
|
+
"match": "(\\[!)(\\[)([^\\]]*)(\\])((\\()[^\\)]+(\\)))(\\])(((\\()[^\\)]+(\\)))|((\\[)[^\\]]+(\\])))",
|
1010
|
+
"name": "link",
|
1011
|
+
"captures": {
|
1012
|
+
"1": {
|
1013
|
+
"name": "punctuation.definition.begin.gfm"
|
1014
|
+
},
|
1015
|
+
"2": {
|
1016
|
+
"name": "punctuation.definition.begin.gfm"
|
1017
|
+
},
|
1018
|
+
"3": {
|
1019
|
+
"name": "entity.gfm"
|
1020
|
+
},
|
1021
|
+
"4": {
|
1022
|
+
"name": "punctuation.definition.end.gfm"
|
1023
|
+
},
|
1024
|
+
"5": {
|
1025
|
+
"name": "markup.underline.link.gfm"
|
1026
|
+
},
|
1027
|
+
"6": {
|
1028
|
+
"name": "punctuation.definition.begin.gfm"
|
1029
|
+
},
|
1030
|
+
"7": {
|
1031
|
+
"name": "punctuation.definition.end.gfm"
|
1032
|
+
},
|
1033
|
+
"8": {
|
1034
|
+
"name": "punctuation.definition.end.gfm"
|
1035
|
+
},
|
1036
|
+
"10": {
|
1037
|
+
"name": "markup.underline.link.gfm"
|
1038
|
+
},
|
1039
|
+
"11": {
|
1040
|
+
"name": "punctuation.definition.begin.gfm"
|
1041
|
+
},
|
1042
|
+
"12": {
|
1043
|
+
"name": "punctuation.definition.end.gfm"
|
1044
|
+
},
|
1045
|
+
"13": {
|
1046
|
+
"name": "markup.underline.link.gfm"
|
1047
|
+
},
|
1048
|
+
"14": {
|
1049
|
+
"name": "punctuation.definition.begin.gfm"
|
1050
|
+
},
|
1051
|
+
"15": {
|
1052
|
+
"name": "punctuation.definition.end.gfm"
|
1053
|
+
}
|
1054
|
+
}
|
1055
|
+
},
|
1056
|
+
{
|
1057
|
+
"match": "(\\[!)(\\[)([^\\]]*)(\\])((\\[)[^\\)]+(\\]))(\\])(((\\()[^\\)]+(\\)))|((\\[)[^\\]]+(\\])))",
|
1058
|
+
"name": "link",
|
1059
|
+
"captures": {
|
1060
|
+
"1": {
|
1061
|
+
"name": "punctuation.definition.begin.gfm"
|
1062
|
+
},
|
1063
|
+
"2": {
|
1064
|
+
"name": "punctuation.definition.begin.gfm"
|
1065
|
+
},
|
1066
|
+
"3": {
|
1067
|
+
"name": "entity.gfm"
|
1068
|
+
},
|
1069
|
+
"4": {
|
1070
|
+
"name": "punctuation.definition.end.gfm"
|
1071
|
+
},
|
1072
|
+
"5": {
|
1073
|
+
"name": "markup.underline.link.gfm"
|
1074
|
+
},
|
1075
|
+
"6": {
|
1076
|
+
"name": "punctuation.definition.begin.gfm"
|
1077
|
+
},
|
1078
|
+
"7": {
|
1079
|
+
"name": "punctuation.definition.end.gfm"
|
1080
|
+
},
|
1081
|
+
"8": {
|
1082
|
+
"name": "punctuation.definition.end.gfm"
|
1083
|
+
},
|
1084
|
+
"10": {
|
1085
|
+
"name": "markup.underline.link.gfm"
|
1086
|
+
},
|
1087
|
+
"11": {
|
1088
|
+
"name": "punctuation.definition.begin.gfm"
|
1089
|
+
},
|
1090
|
+
"12": {
|
1091
|
+
"name": "punctuation.definition.end.gfm"
|
1092
|
+
},
|
1093
|
+
"13": {
|
1094
|
+
"name": "markup.underline.link.gfm"
|
1095
|
+
},
|
1096
|
+
"14": {
|
1097
|
+
"name": "punctuation.definition.begin.gfm"
|
1098
|
+
},
|
1099
|
+
"15": {
|
1100
|
+
"name": "punctuation.definition.end.gfm"
|
1101
|
+
}
|
1102
|
+
}
|
1103
|
+
},
|
1104
|
+
{
|
1105
|
+
"match": "!?(\\[)([^\\]]*)(\\])((\\()[^\\)]+(\\)))",
|
1106
|
+
"name": "link",
|
1107
|
+
"captures": {
|
1108
|
+
"1": {
|
1109
|
+
"name": "punctuation.definition.begin.gfm"
|
1110
|
+
},
|
1111
|
+
"2": {
|
1112
|
+
"name": "entity.gfm"
|
1113
|
+
},
|
1114
|
+
"3": {
|
1115
|
+
"name": "punctuation.definition.end.gfm"
|
1116
|
+
},
|
1117
|
+
"4": {
|
1118
|
+
"name": "markup.underline.link.gfm"
|
1119
|
+
},
|
1120
|
+
"5": {
|
1121
|
+
"name": "punctuation.definition.begin.gfm"
|
1122
|
+
},
|
1123
|
+
"6": {
|
1124
|
+
"name": "punctuation.definition.end.gfm"
|
1125
|
+
}
|
1126
|
+
}
|
1127
|
+
},
|
1128
|
+
{
|
1129
|
+
"match": "!?(\\[)([^\\]]*)(\\])((\\[)[^\\]]*(\\]))",
|
1130
|
+
"name": "link",
|
1131
|
+
"captures": {
|
1132
|
+
"1": {
|
1133
|
+
"name": "punctuation.definition.begin.gfm"
|
1134
|
+
},
|
1135
|
+
"2": {
|
1136
|
+
"name": "entity.gfm"
|
1137
|
+
},
|
1138
|
+
"3": {
|
1139
|
+
"name": "punctuation.definition.end.gfm"
|
1140
|
+
},
|
1141
|
+
"4": {
|
1142
|
+
"name": "markup.underline.link.gfm"
|
1143
|
+
},
|
1144
|
+
"5": {
|
1145
|
+
"name": "punctuation.definition.begin.gfm"
|
1146
|
+
},
|
1147
|
+
"6": {
|
1148
|
+
"name": "punctuation.definition.end.gfm"
|
1149
|
+
}
|
1150
|
+
}
|
1151
|
+
},
|
1152
|
+
{
|
1153
|
+
"match": "^\\s*(\\[)([^\\]]+)(\\])\\s*:\\s*<([^>]+)>",
|
1154
|
+
"name": "link",
|
1155
|
+
"captures": {
|
1156
|
+
"1": {
|
1157
|
+
"name": "punctuation.definition.begin.gfm"
|
1158
|
+
},
|
1159
|
+
"2": {
|
1160
|
+
"name": "entity.gfm"
|
1161
|
+
},
|
1162
|
+
"3": {
|
1163
|
+
"name": "punctuation.definition.end.gfm"
|
1164
|
+
},
|
1165
|
+
"4": {
|
1166
|
+
"name": "markup.underline.link.gfm"
|
1167
|
+
}
|
1168
|
+
}
|
1169
|
+
},
|
1170
|
+
{
|
1171
|
+
"match": "^\\s*(\\[)([^\\]]+)(\\])\\s*(:)\\s*(\\S+)",
|
1172
|
+
"name": "link",
|
1173
|
+
"captures": {
|
1174
|
+
"1": {
|
1175
|
+
"name": "punctuation.definition.begin.gfm"
|
1176
|
+
},
|
1177
|
+
"2": {
|
1178
|
+
"name": "entity.gfm"
|
1179
|
+
},
|
1180
|
+
"3": {
|
1181
|
+
"name": "punctuation.definition.end.gfm"
|
1182
|
+
},
|
1183
|
+
"4": {
|
1184
|
+
"name": "punctuation.separator.key-value.gfm"
|
1185
|
+
},
|
1186
|
+
"5": {
|
1187
|
+
"name": "markup.underline.link.gfm"
|
1188
|
+
}
|
1189
|
+
}
|
1190
|
+
},
|
1191
|
+
{
|
1192
|
+
"match": "^\\s*([*+-])[ \\t]+",
|
1193
|
+
"captures": {
|
1194
|
+
"1": {
|
1195
|
+
"name": "variable.unordered.list.gfm"
|
1196
|
+
}
|
1197
|
+
}
|
1198
|
+
},
|
1199
|
+
{
|
1200
|
+
"match": "^\\s*(\\d+\\.)[ \\t]+",
|
1201
|
+
"captures": {
|
1202
|
+
"1": {
|
1203
|
+
"name": "variable.ordered.list.gfm"
|
1204
|
+
}
|
1205
|
+
}
|
1206
|
+
},
|
1207
|
+
{
|
1208
|
+
"begin": "^\\s*(>)",
|
1209
|
+
"end": "^\\s*?$",
|
1210
|
+
"beginCaptures": {
|
1211
|
+
"1": {
|
1212
|
+
"name": "support.quote.gfm"
|
1213
|
+
}
|
1214
|
+
},
|
1215
|
+
"name": "comment.quote.gfm",
|
1216
|
+
"patterns": [
|
1217
|
+
{
|
1218
|
+
"include": "$self"
|
1219
|
+
}
|
1220
|
+
]
|
1221
|
+
},
|
1222
|
+
{
|
1223
|
+
"match": "(?<=^|\\s|\"|'|\\(|\\[)(@)(\\w[-\\w:]*)(?=[\\s\"'.,;\\)\\]])",
|
1224
|
+
"captures": {
|
1225
|
+
"1": {
|
1226
|
+
"name": "variable.mention.gfm"
|
1227
|
+
},
|
1228
|
+
"2": {
|
1229
|
+
"name": "string.username.gfm"
|
1230
|
+
}
|
1231
|
+
}
|
1232
|
+
},
|
1233
|
+
{
|
1234
|
+
"match": "(?<=^|\\s|\"|'|\\(|\\[)(#)(\\d+)(?=[\\s\"'\\.,;\\)\\]])",
|
1235
|
+
"captures": {
|
1236
|
+
"1": {
|
1237
|
+
"name": "variable.issue.tag.gfm"
|
1238
|
+
},
|
1239
|
+
"2": {
|
1240
|
+
"name": "string.issue.number.gfm"
|
1241
|
+
}
|
1242
|
+
}
|
1243
|
+
},
|
1244
|
+
{
|
1245
|
+
"match": "( )$",
|
1246
|
+
"captures": {
|
1247
|
+
"1": {
|
1248
|
+
"name": "linebreak.gfm"
|
1249
|
+
}
|
1250
|
+
}
|
1251
|
+
},
|
1252
|
+
{
|
1253
|
+
"begin": "<!--",
|
1254
|
+
"captures": {
|
1255
|
+
"0": {
|
1256
|
+
"name": "punctuation.definition.comment.gfm"
|
1257
|
+
}
|
1258
|
+
},
|
1259
|
+
"end": "--\\s*>",
|
1260
|
+
"name": "comment.block.gfm"
|
1261
|
+
},
|
1262
|
+
{
|
1263
|
+
"begin": "^\\|",
|
1264
|
+
"end": "\\|$",
|
1265
|
+
"captures": {
|
1266
|
+
"0": {
|
1267
|
+
"name": "border.pipe.outer"
|
1268
|
+
}
|
1269
|
+
},
|
1270
|
+
"name": "table.gfm",
|
1271
|
+
"patterns": [
|
1272
|
+
{
|
1273
|
+
"match": "(:?)(-+)(:?)",
|
1274
|
+
"captures": {
|
1275
|
+
"1": {
|
1276
|
+
"name": "border.alignment"
|
1277
|
+
},
|
1278
|
+
"2": {
|
1279
|
+
"name": "border.header"
|
1280
|
+
},
|
1281
|
+
"3": {
|
1282
|
+
"name": "border.alignment"
|
1283
|
+
}
|
1284
|
+
}
|
1285
|
+
},
|
1286
|
+
{
|
1287
|
+
"match": "\\|",
|
1288
|
+
"name": "border.pipe.inner"
|
1289
|
+
}
|
1290
|
+
]
|
1291
|
+
}
|
1292
|
+
]
|
1293
|
+
}
|
1294
|
+
},
|
1295
|
+
"scopeName": "text.html.markdown.source.gfm.apib",
|
1296
|
+
"uuid": "dd477cf1-34c4-49d2-ba09-f8445676ccd4"
|
1297
|
+
}
|