Merge pull request #11066 from eklavyamirani/master

Fixed: Markdown syntax highlighting to support alternative header styles
This commit is contained in:
Kai Maetzel
2016-09-26 17:44:21 -07:00
committed by GitHub
3 changed files with 85 additions and 2 deletions

View File

@@ -511,7 +511,7 @@
<!-- 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*$|#|[ ]{0,3}((([*_][ ]{0,2}\2){2,}[ \t]*$\n?)|([*+-]([ ]{1,3}|\t)))|\s*\[.+?\]:|&gt;)</string>
</dict>
<key>raw_block</key>
<dict>
@@ -1133,7 +1133,7 @@
<key>separator</key>
<dict>
<key>match</key>
<string>(^|\G)[ ]{0,3}([-*_])([ ]{0,2}\2){2,}[ \t]*$\n?</string>
<string>(^|\G)[ ]{0,3}([*-_])([ ]{0,2}\2){2,}[ \t]*$\n?</string>
<key>name</key>
<string>meta.separator.markdown</string>
</dict>