docs: Use json
to fix syntax highlighting (#17884)
This follows up the [issue with mdbook notpeter mentioned](https://github.com/zed-industries/zed/pull/17864#issuecomment-2353089065) by replacing `jsonc` where used in the docs with `json`. Additionally, one missing `json` - highlight was added for the search-section. Release Notes: - N/A
This commit is contained in:
parent
2cae6f3e08
commit
22db569adf
3 changed files with 24 additions and 24 deletions
|
@ -1179,7 +1179,7 @@ Or to set a `socks5` proxy:
|
|||
- Setting: `search`
|
||||
- Default:
|
||||
|
||||
```
|
||||
```json
|
||||
"search": {
|
||||
"whole_word": false,
|
||||
"case_sensitive": false,
|
||||
|
@ -1516,14 +1516,14 @@ The name of any font family installed on the user's system
|
|||
|
||||
See Buffer Font Features
|
||||
|
||||
```jsonc
|
||||
```json
|
||||
{
|
||||
"terminal": {
|
||||
"font_features": {
|
||||
"calt": false,
|
||||
"calt": false
|
||||
// See Buffer Font Features for more features
|
||||
},
|
||||
},
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -1537,33 +1537,33 @@ See Buffer Font Features
|
|||
|
||||
1. Use a line height that's `comfortable` for reading, 1.618. (default)
|
||||
|
||||
```jsonc
|
||||
```json
|
||||
{
|
||||
"terminal": {
|
||||
"line_height": "comfortable",
|
||||
},
|
||||
"line_height": "comfortable"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
2. Use a `standard` line height, 1.3. This option is useful for TUIs, particularly if they use box characters
|
||||
|
||||
```jsonc
|
||||
```json
|
||||
{
|
||||
"terminal": {
|
||||
"line_height": "standard",
|
||||
},
|
||||
"line_height": "standard"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
3. Use a custom line height.
|
||||
|
||||
```jsonc
|
||||
```json
|
||||
{
|
||||
"terminal": {
|
||||
"line_height": {
|
||||
"custom": 2,
|
||||
},
|
||||
},
|
||||
"custom": 2
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue