1{ 2 "$schema": "https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json", 3 "name": "Markdown React", 4 "patterns": [ 5 { "include": "#jsx" }, 6 { "include": "#markdown" } 7 ], 8 "repository": { 9 "jsx": { 10 "patterns": [ 11 { "include": "#jsx-module" }, 12 { "include": "#jsx-tag" } 13 ], 14 "repository": { 15 "jsx-module": { 16 "patterns": [ 17 { 18 "begin": "^(?=(import|export)\\b)", 19 "while": "^(?!\\s*$)", 20 "contentName": "source.js.jsx", 21 "patterns": [ 22 { "include": "source.js.jsx" } 23 ] 24 } 25 ] 26 }, 27 "jsx-tag": { 28 "patterns": [ 29 { 30 "begin": "^(?=<([a-z]|[A-Z]))", 31 "end": "(?<=>)", 32 "contentName": "source.js.jsx", 33 "patterns": [ 34 { "include": "source.js.jsx" } 35 ] 36 } 37 ] 38 } 39 } 40 }, 41 "markdown": { 42 "contentName": "text.html.markdown", 43 "patterns": [ 44 { "include": "text.html.markdown" } 45 ] 46 } 47 }, 48 "scopeName": "text.html.markdown.jsx" 49} 50