提交 0656b2b0 编写于 作者: M Matt Bierner

Update markdown grammar to allow better injection into unknown fenced code blocks

上级 22fab0c7
......@@ -2783,7 +2783,7 @@
<key>name</key>
<string>markup.fenced_code.block.markdown</string>
<key>begin</key>
<string>(^|\G)(\s*)([`~]{3,})\s*([^`~]*)?$</string>
<string>(^|\G)(\s*)([`~]{3,})\s*(?=([^`~]*)?$)</string>
<key>end</key>
<string>(^|\G)(\2|\s{0,3})(\3)\s*$</string>
<key>beginCaptures</key>
......
......@@ -416,7 +416,7 @@
<key>name</key>
<string>markup.fenced_code.block.markdown</string>
<key>begin</key>
<string>(^|\G)(\s*)([`~]{3,})\s*([^`~]*)?$</string>
<string>(^|\G)(\s*)([`~]{3,})\s*(?=[^`~]*)?$</string>
<key>end</key>
<string>(^|\G)(\2|\s{0,3})(\3)\s*$</string>
<key>beginCaptures</key>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册