Bash 代码块语法着色
Bash Code Block Syntax colouring
对于 vscode 中的降价,在三重反引号代码块中,我应该为 bash 使用什么名称?
我试过:
- bash
- sh
- shell
(示例:
```bash
if [ "$BLEG" != xxx ];然后
命令
fi
```
一切都无济于事。
是否有显示 vscode 允许的代码的列表?
谢谢!
-埃里克
是shellscript
:
```shellscript
if [ "$BLEG" != xxx ]; then command; fi
```
对于 vscode 中的降价,在三重反引号代码块中,我应该为 bash 使用什么名称? 我试过:
- bash
- sh
- shell
(示例:
```bash
if [ "$BLEG" != xxx ];然后 命令 fi
```
一切都无济于事。
是否有显示 vscode 允许的代码的列表?
谢谢! -埃里克
是shellscript
:
```shellscript
if [ "$BLEG" != xxx ]; then command; fi
```