|
4 | 4 | "If you want to provide a fix or improvement, please create a pull request against the original repository.", |
5 | 5 | "Once accepted there, we are happy to receive an update request." |
6 | 6 | ], |
7 | | - "version": "https://github.com/microsoft/vscode-markdown-tm-grammar/commit/47e0c947d0a8d13c07e06a086a5c0c9bbffc6cf6", |
| 7 | + "version": "https://github.com/microsoft/vscode-markdown-tm-grammar/commit/97b45ff162bfccd4770a0f6851e7d7937fc884b6", |
8 | 8 | "name": "Markdown", |
9 | 9 | "scopeName": "text.html.markdown", |
10 | 10 | "patterns": [ |
|
31 | 31 | "include": "#lists" |
32 | 32 | }, |
33 | 33 | { |
34 | | - "include": "#fenced_code_block_css" |
35 | | - }, |
36 | | - { |
37 | | - "include": "#fenced_code_block_basic" |
38 | | - }, |
39 | | - { |
40 | | - "include": "#fenced_code_block_ini" |
41 | | - }, |
42 | | - { |
43 | | - "include": "#fenced_code_block_java" |
44 | | - }, |
45 | | - { |
46 | | - "include": "#fenced_code_block_lua" |
47 | | - }, |
48 | | - { |
49 | | - "include": "#fenced_code_block_makefile" |
50 | | - }, |
51 | | - { |
52 | | - "include": "#fenced_code_block_perl" |
53 | | - }, |
54 | | - { |
55 | | - "include": "#fenced_code_block_r" |
56 | | - }, |
57 | | - { |
58 | | - "include": "#fenced_code_block_ruby" |
59 | | - }, |
60 | | - { |
61 | | - "include": "#fenced_code_block_php" |
62 | | - }, |
63 | | - { |
64 | | - "include": "#fenced_code_block_sql" |
65 | | - }, |
66 | | - { |
67 | | - "include": "#fenced_code_block_vs_net" |
68 | | - }, |
69 | | - { |
70 | | - "include": "#fenced_code_block_xml" |
71 | | - }, |
72 | | - { |
73 | | - "include": "#fenced_code_block_xsl" |
74 | | - }, |
75 | | - { |
76 | | - "include": "#fenced_code_block_yaml" |
77 | | - }, |
78 | | - { |
79 | | - "include": "#fenced_code_block_dosbatch" |
80 | | - }, |
81 | | - { |
82 | | - "include": "#fenced_code_block_clojure" |
83 | | - }, |
84 | | - { |
85 | | - "include": "#fenced_code_block_coffee" |
86 | | - }, |
87 | | - { |
88 | | - "include": "#fenced_code_block_c" |
89 | | - }, |
90 | | - { |
91 | | - "include": "#fenced_code_block_cpp" |
92 | | - }, |
93 | | - { |
94 | | - "include": "#fenced_code_block_diff" |
95 | | - }, |
96 | | - { |
97 | | - "include": "#fenced_code_block_dockerfile" |
98 | | - }, |
99 | | - { |
100 | | - "include": "#fenced_code_block_git_commit" |
101 | | - }, |
102 | | - { |
103 | | - "include": "#fenced_code_block_git_rebase" |
104 | | - }, |
105 | | - { |
106 | | - "include": "#fenced_code_block_go" |
107 | | - }, |
108 | | - { |
109 | | - "include": "#fenced_code_block_groovy" |
110 | | - }, |
111 | | - { |
112 | | - "include": "#fenced_code_block_pug" |
113 | | - }, |
114 | | - { |
115 | | - "include": "#fenced_code_block_js" |
116 | | - }, |
117 | | - { |
118 | | - "include": "#fenced_code_block_js_regexp" |
119 | | - }, |
120 | | - { |
121 | | - "include": "#fenced_code_block_json" |
122 | | - }, |
123 | | - { |
124 | | - "include": "#fenced_code_block_jsonc" |
125 | | - }, |
126 | | - { |
127 | | - "include": "#fenced_code_block_less" |
128 | | - }, |
129 | | - { |
130 | | - "include": "#fenced_code_block_objc" |
131 | | - }, |
132 | | - { |
133 | | - "include": "#fenced_code_block_scss" |
134 | | - }, |
135 | | - { |
136 | | - "include": "#fenced_code_block_perl6" |
137 | | - }, |
138 | | - { |
139 | | - "include": "#fenced_code_block_powershell" |
140 | | - }, |
141 | | - { |
142 | | - "include": "#fenced_code_block_python" |
143 | | - }, |
144 | | - { |
145 | | - "include": "#fenced_code_block_regexp_python" |
146 | | - }, |
147 | | - { |
148 | | - "include": "#fenced_code_block_rust" |
149 | | - }, |
150 | | - { |
151 | | - "include": "#fenced_code_block_scala" |
152 | | - }, |
153 | | - { |
154 | | - "include": "#fenced_code_block_shell" |
155 | | - }, |
156 | | - { |
157 | | - "include": "#fenced_code_block_ts" |
158 | | - }, |
159 | | - { |
160 | | - "include": "#fenced_code_block_tsx" |
161 | | - }, |
162 | | - { |
163 | | - "include": "#fenced_code_block_csharp" |
164 | | - }, |
165 | | - { |
166 | | - "include": "#fenced_code_block_fsharp" |
167 | | - }, |
168 | | - { |
169 | | - "include": "#fenced_code_block_dart" |
170 | | - }, |
171 | | - { |
172 | | - "include": "#fenced_code_block_handlebars" |
173 | | - }, |
174 | | - { |
175 | | - "include": "#fenced_code_block_markdown" |
176 | | - }, |
177 | | - { |
178 | | - "include": "#fenced_code_block_unknown" |
| 34 | + "include": "#fenced_code_block" |
179 | 35 | }, |
180 | 36 | { |
181 | 37 | "include": "#raw_block" |
|
1298 | 1154 | } |
1299 | 1155 | ] |
1300 | 1156 | }, |
| 1157 | + "fenced_code_block_swift": { |
| 1158 | + "begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(swift)(\\s+[^`~]*)?$)", |
| 1159 | + "name": "markup.fenced_code.block.markdown", |
| 1160 | + "end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$", |
| 1161 | + "beginCaptures": { |
| 1162 | + "3": { |
| 1163 | + "name": "punctuation.definition.markdown" |
| 1164 | + }, |
| 1165 | + "5": { |
| 1166 | + "name": "fenced_code.block.language" |
| 1167 | + }, |
| 1168 | + "6": { |
| 1169 | + "name": "fenced_code.block.language.attributes" |
| 1170 | + } |
| 1171 | + }, |
| 1172 | + "endCaptures": { |
| 1173 | + "3": { |
| 1174 | + "name": "punctuation.definition.markdown" |
| 1175 | + } |
| 1176 | + }, |
| 1177 | + "patterns": [ |
| 1178 | + { |
| 1179 | + "begin": "(^|\\G)(\\s*)(.*)", |
| 1180 | + "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)", |
| 1181 | + "contentName": "meta.embedded.block.swift", |
| 1182 | + "patterns": [ |
| 1183 | + { |
| 1184 | + "include": "source.swift" |
| 1185 | + } |
| 1186 | + ] |
| 1187 | + } |
| 1188 | + ] |
| 1189 | + }, |
1301 | 1190 | "fenced_code_block_scss": { |
1302 | 1191 | "begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(scss)(\\s+[^`~]*)?$)", |
1303 | 1192 | "name": "markup.fenced_code.block.markdown", |
|
1793 | 1682 | } |
1794 | 1683 | ] |
1795 | 1684 | }, |
| 1685 | + "fenced_code_block": { |
| 1686 | + "patterns": [ |
| 1687 | + { |
| 1688 | + "include": "#fenced_code_block_css" |
| 1689 | + }, |
| 1690 | + { |
| 1691 | + "include": "#fenced_code_block_basic" |
| 1692 | + }, |
| 1693 | + { |
| 1694 | + "include": "#fenced_code_block_ini" |
| 1695 | + }, |
| 1696 | + { |
| 1697 | + "include": "#fenced_code_block_java" |
| 1698 | + }, |
| 1699 | + { |
| 1700 | + "include": "#fenced_code_block_lua" |
| 1701 | + }, |
| 1702 | + { |
| 1703 | + "include": "#fenced_code_block_makefile" |
| 1704 | + }, |
| 1705 | + { |
| 1706 | + "include": "#fenced_code_block_perl" |
| 1707 | + }, |
| 1708 | + { |
| 1709 | + "include": "#fenced_code_block_r" |
| 1710 | + }, |
| 1711 | + { |
| 1712 | + "include": "#fenced_code_block_ruby" |
| 1713 | + }, |
| 1714 | + { |
| 1715 | + "include": "#fenced_code_block_php" |
| 1716 | + }, |
| 1717 | + { |
| 1718 | + "include": "#fenced_code_block_sql" |
| 1719 | + }, |
| 1720 | + { |
| 1721 | + "include": "#fenced_code_block_vs_net" |
| 1722 | + }, |
| 1723 | + { |
| 1724 | + "include": "#fenced_code_block_xml" |
| 1725 | + }, |
| 1726 | + { |
| 1727 | + "include": "#fenced_code_block_xsl" |
| 1728 | + }, |
| 1729 | + { |
| 1730 | + "include": "#fenced_code_block_yaml" |
| 1731 | + }, |
| 1732 | + { |
| 1733 | + "include": "#fenced_code_block_dosbatch" |
| 1734 | + }, |
| 1735 | + { |
| 1736 | + "include": "#fenced_code_block_clojure" |
| 1737 | + }, |
| 1738 | + { |
| 1739 | + "include": "#fenced_code_block_coffee" |
| 1740 | + }, |
| 1741 | + { |
| 1742 | + "include": "#fenced_code_block_c" |
| 1743 | + }, |
| 1744 | + { |
| 1745 | + "include": "#fenced_code_block_cpp" |
| 1746 | + }, |
| 1747 | + { |
| 1748 | + "include": "#fenced_code_block_diff" |
| 1749 | + }, |
| 1750 | + { |
| 1751 | + "include": "#fenced_code_block_dockerfile" |
| 1752 | + }, |
| 1753 | + { |
| 1754 | + "include": "#fenced_code_block_git_commit" |
| 1755 | + }, |
| 1756 | + { |
| 1757 | + "include": "#fenced_code_block_git_rebase" |
| 1758 | + }, |
| 1759 | + { |
| 1760 | + "include": "#fenced_code_block_go" |
| 1761 | + }, |
| 1762 | + { |
| 1763 | + "include": "#fenced_code_block_groovy" |
| 1764 | + }, |
| 1765 | + { |
| 1766 | + "include": "#fenced_code_block_pug" |
| 1767 | + }, |
| 1768 | + { |
| 1769 | + "include": "#fenced_code_block_js" |
| 1770 | + }, |
| 1771 | + { |
| 1772 | + "include": "#fenced_code_block_js_regexp" |
| 1773 | + }, |
| 1774 | + { |
| 1775 | + "include": "#fenced_code_block_json" |
| 1776 | + }, |
| 1777 | + { |
| 1778 | + "include": "#fenced_code_block_jsonc" |
| 1779 | + }, |
| 1780 | + { |
| 1781 | + "include": "#fenced_code_block_less" |
| 1782 | + }, |
| 1783 | + { |
| 1784 | + "include": "#fenced_code_block_objc" |
| 1785 | + }, |
| 1786 | + { |
| 1787 | + "include": "#fenced_code_block_swift" |
| 1788 | + }, |
| 1789 | + { |
| 1790 | + "include": "#fenced_code_block_scss" |
| 1791 | + }, |
| 1792 | + { |
| 1793 | + "include": "#fenced_code_block_perl6" |
| 1794 | + }, |
| 1795 | + { |
| 1796 | + "include": "#fenced_code_block_powershell" |
| 1797 | + }, |
| 1798 | + { |
| 1799 | + "include": "#fenced_code_block_python" |
| 1800 | + }, |
| 1801 | + { |
| 1802 | + "include": "#fenced_code_block_regexp_python" |
| 1803 | + }, |
| 1804 | + { |
| 1805 | + "include": "#fenced_code_block_rust" |
| 1806 | + }, |
| 1807 | + { |
| 1808 | + "include": "#fenced_code_block_scala" |
| 1809 | + }, |
| 1810 | + { |
| 1811 | + "include": "#fenced_code_block_shell" |
| 1812 | + }, |
| 1813 | + { |
| 1814 | + "include": "#fenced_code_block_ts" |
| 1815 | + }, |
| 1816 | + { |
| 1817 | + "include": "#fenced_code_block_tsx" |
| 1818 | + }, |
| 1819 | + { |
| 1820 | + "include": "#fenced_code_block_csharp" |
| 1821 | + }, |
| 1822 | + { |
| 1823 | + "include": "#fenced_code_block_fsharp" |
| 1824 | + }, |
| 1825 | + { |
| 1826 | + "include": "#fenced_code_block_dart" |
| 1827 | + }, |
| 1828 | + { |
| 1829 | + "include": "#fenced_code_block_handlebars" |
| 1830 | + }, |
| 1831 | + { |
| 1832 | + "include": "#fenced_code_block_markdown" |
| 1833 | + }, |
| 1834 | + { |
| 1835 | + "include": "#fenced_code_block_unknown" |
| 1836 | + } |
| 1837 | + ] |
| 1838 | + }, |
1796 | 1839 | "fenced_code_block_unknown": { |
1797 | 1840 | "begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?=([^`~]*)?$)", |
1798 | 1841 | "beginCaptures": { |
|
0 commit comments