提交 3d71a325 编写于 作者: M Matt Bierner 提交者: GitHub

Simplify markdown paragraph logic (#18531)

* Simplify markdown paragraph logic

* Fix for alt headers
上级 138ce0d2
......@@ -48,10 +48,6 @@
</dict>
<dict>
<key>include</key>
<string>#fenced_code_block_css</string>
</dict>
<dict>
......@@ -567,10 +563,7 @@
</dict>
</array>
<key>while</key>
<!-- seperator [ ]{0,3}([-*_][ ]{0,2}\2){2,}[ \t]*$\n? -->
<!-- list [ ]{0,3}[*+-]([ ]{1,3}|\t) -->
<!-- both are folded together in the expression below -->
<string>(^|\G)(?!\s*$|#|[ ]{0,3}((([*_][ ]{0,2}\2){2,}[ \t]*$\n?)|([*+-]([ ]{1,3}|\t)))|\s*\[.+?\]:|&gt;)</string>
<string>(^|\G)((?=\s*[-=]{3,}\s*$)|[ ]{4,}(?=\S))</string>
</dict>
<key>fenced_code_block_css</key>
<dict>
......@@ -968,7 +961,6 @@
<string>punctuation.definition.markdown</string>
</dict>
</dict>
<key>patterns</key>
<array>
<dict>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册