mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-27 03:54:24 +01:00
fix: add word boundray to check markdown italic (#41466)
* fix: add word boundray to check markdown italic * fix: update markdown.tmLanguage.base
This commit is contained in:
committed by
Matt Bierner
parent
ad79d802dd
commit
2472a47bc8
@@ -808,7 +808,7 @@
|
||||
<dict>
|
||||
<key>begin</key>
|
||||
<string>(?x)
|
||||
(\*|_)(?=\S) # Open
|
||||
\b(\*|_)(?=\S) # Open
|
||||
(?=
|
||||
(
|
||||
<[^>]*+> # HTML tags
|
||||
@@ -858,7 +858,7 @@
|
||||
</dict>
|
||||
</dict>
|
||||
<key>end</key>
|
||||
<string>(?<=\S)(\1)((?!\1)|(?=\1\1))</string>
|
||||
<string>(?<=\S)(\1)((?!\1)|(?=\1\1))\b</string>
|
||||
<key>name</key>
|
||||
<string>markup.italic.markdown</string>
|
||||
<key>patterns</key>
|
||||
|
||||
Reference in New Issue
Block a user