-
Notifications
You must be signed in to change notification settings - Fork 91
Open
Description
I created a sh sample code with some comments inside a fenced code block, place it after an list item and then indent it.
If I indent the code block, the syntax highlighting loses its color.
The bug is in the markdown editor and preview.
Does this issue occur when all extensions are disabled?: YES
Basic Information
- VS Code Version: 1.77.3 (user setup)
- OS Version: Windows_NT x64 10.0.19045
- Color Theme: Dark+ (default dark)
Steps to Reproduce:
- Open markdown file
- Create list
- Add a code block (see
sample codebelow) - See the result (see
screenshotsbelow)
Sample Code
1. List One
```sh
sudo apt-get purge --autoremove -y google-chrome-stable
# with alias
remove -y google-chrome-stable
```
1. List Two
```sh
sudo apt-get purge --autoremove -y google-chrome-stable
# with alias
remove -y google-chrome-stable
```
1. List Three
```sh
sudo apt-get purge --autoremove -y google-chrome-stable
# with alias
remove -y google-chrome-stable
```Screenshots
Actual behavior
Expected behavior
Originally from @adorade in microsoft/vscode#180246
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels

