This commit is contained in:
yanmao 2022-01-06 15:03:14 +08:00
parent 91ec0f7091
commit 7a92d7c223
3 changed files with 75 additions and 0 deletions

View File

@ -72,6 +72,31 @@ new Engine(...,{
})
```
### Alias
Alias settings
```ts
//Use configuration
new Engine(...,{
config:{
"alias":{
text:'plain',
sh:'bash',
ts:'typescript',
js:'javascript',
py:'python',
puml:'plantuml',
uml:'plantuml',
vb:'basic',
md:'markdown',
'c++':'cpp',
'c#':'csharp',
}
}
})
```
## Command
```ts

View File

@ -72,6 +72,31 @@ new Engine(...,{
})
```
### 别名
别名设置
```ts
//使用配置
new Engine(...,{
config:{
"alias":{
text: 'plain',
sh: 'bash',
ts: 'typescript',
js: 'javascript',
py: 'python',
puml: 'plantuml',
uml: 'plantuml',
vb: 'basic',
md: 'markdown',
'c++': 'cpp',
'c#': 'csharp',
}
}
})
```
## 命令
```ts

View File

@ -66,6 +66,31 @@ new Engine(...,{
})
```
### 别名
别名设置
```ts
//使用配置
new Engine(...,{
config:{
"alias":{
text: 'plain',
sh: 'bash',
ts: 'typescript',
js: 'javascript',
py: 'python',
puml: 'plantuml',
uml: 'plantuml',
vb: 'basic',
md: 'markdown',
'c++': 'cpp',
'c#': 'csharp',
}
}
})
```
## 命令
```ts