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 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 code below)
See the result (see screenshots below)
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```
alexr00
changed the title
Markdown: Shell fenced code block have incorrect synthax highlighting after indent
Markdown: Shell fenced code block have incorrect syntax highlighting after indent
Aug 30, 2023
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
Steps to Reproduce:
sample code
below)screenshots
below)Sample Code
Screenshots
Actual behavior
Expected behavior
Originally from @adorade in microsoft/vscode#180246
The text was updated successfully, but these errors were encountered: