You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think the issue is in how we detect the opening. According to line 317 of markdown.tmLanguage.base.yaml, the expression used to detect the start of an italicized block is (\*\b|\b_)(?=\S). However, if I'm reading the reference on JS word boundaries correctly, single and double quotes don't appear to qualify as word boundaries.
I tried several other sequences:
*/foo/*
*(bar)*
*$hello$*
None of those italicize in VSCode either, even though Github and other editors, such as Atom, italicize them, which seems to confirm my hypothesis that \b is too restrictive when detecting the start of an italicized block. However, I'm not sure what the correct set of characters is. For example, do we want to italicize *<baz>*?
Steps to reproduce:
*"quoted emphasis"*
Expected result: *"quoted emphasis"*
Actual result: *"quoted emphasis"*
This occurs on the latest release and preview builds.
The text was updated successfully, but these errors were encountered: