vscode-markdown-preview-enhanced icon indicating copy to clipboard operation
vscode-markdown-preview-enhanced copied to clipboard

Doesn't highlight correctly bash/shell code

Open ashlinchak opened this issue 5 years ago • 1 comments

When using a code block with specifying console type, the extension doesn't highlight it correctly:

```console
$ cp .env.example .env
```

Produces the next preview: Screenshot from 2021-02-05 13-23-40

This is how it's parsed with the shell code block mark:

```shell
$ cp .env.example .env
```

Screenshot from 2021-02-05 13-22-57

Reproducible environment: VS Code 1.52.1, Ubuntu 20.04

ashlinchak avatar Feb 05 '21 11:02 ashlinchak

+1 Default renderer provides better results for console type

zoulja avatar Oct 12 '21 09:10 zoulja