mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 02:28:34 +01:00
Fix Markdown Colorization of Indented Block Quotes (#15220)
Issue #12948 **Bug** - Block quotes ar not colorized if they start with a space. Up to three spaces should be supported (4 spaces makes it a code block) - The second line of blocks quotes should be able to have any number of leading spaces. **Fix** Add support for both of these cases Closes #12948
This commit is contained in:
@@ -216,7 +216,7 @@
|
||||
<key>blockquote</key>
|
||||
<dict>
|
||||
<key>begin</key>
|
||||
<string>(^|\G)(>) ?</string>
|
||||
<string>(^|\G)[ ]{0,3}(>) ?</string>
|
||||
<key>captures</key>
|
||||
<dict>
|
||||
<key>2</key>
|
||||
@@ -235,7 +235,7 @@
|
||||
</dict>
|
||||
</array>
|
||||
<key>while</key>
|
||||
<string>(^|\G)(>) ?</string>
|
||||
<string>(^|\G)\s*(>) ?</string>
|
||||
</dict>
|
||||
<key>heading</key>
|
||||
<dict>
|
||||
|
||||
Reference in New Issue
Block a user