Bash 代码块语法着色

Bash Code Block Syntax colouring

对于 vscode 中的降价,在三重反引号代码块中,我应该为 bash 使用什么名称? 我试过:

(示例:

```bash

if [ "$BLEG" != xxx ];然后 命令 fi

```

一切都无济于事。

是否有显示 vscode 允许的代码的列表?

谢谢! -埃里克

shellscript:

```shellscript

if [ "$BLEG" != xxx ]; then command; fi

```

在此处找到:https://github.com/Microsoft/vscode/blob/d2a151fcc69bc3307fa3b75d167841177cbb9f41/extensions/shellscript/package.json