mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-21 09:08:53 +01:00
Merge pull request #11066 from eklavyamirani/master
Fixed: Markdown syntax highlighting to support alternative header styles
This commit is contained in:
@@ -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*\[.+?\]:|>)</string>
|
||||
<string>(^|\G)(?!\s*$|#|[ ]{0,3}((([*_][ ]{0,2}\2){2,}[ \t]*$\n?)|([*+-]([ ]{1,3}|\t)))|\s*\[.+?\]:|>)</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>
|
||||
|
||||
Reference in New Issue
Block a user