mirror of
https://github.com/wavetermdev/waveterm.git
synced 2024-12-21 16:38:23 +01:00
docs: fix malformed json and json formatting (#1460)
This commit is contained in:
parent
a298703874
commit
9805ce4921
@ -126,7 +126,7 @@ Suppose I want a widget that will run speedtest-go when opened. Then, I can defi
|
||||
"view": "term",
|
||||
"controller": "cmd",
|
||||
"cmd": "speedtest-go --unix",
|
||||
"cmd:clearonstart"
|
||||
"cmd:clearonstart": true
|
||||
}
|
||||
}
|
||||
},
|
||||
@ -144,13 +144,13 @@ Now suppose I wanted to run a TUI app, for instance, `dua`. Well, it turns out t
|
||||
```json
|
||||
<... other widgets go here ...>,
|
||||
"dua" : {
|
||||
"icon": "brands@linux",
|
||||
"label": "dua",
|
||||
"blockdef": {
|
||||
"meta": {
|
||||
"view": "term",
|
||||
"controller": "cmd",
|
||||
"cmd": "dua"
|
||||
"icon": "brands@linux",
|
||||
"label": "dua",
|
||||
"blockdef": {
|
||||
"meta": {
|
||||
"view": "term",
|
||||
"controller": "cmd",
|
||||
"cmd": "dua"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user