Showing the changes to docs/src/reference (1 of 1 file). Show all
Unified · Split
| @@ -3153,6 +3153,54 @@ Configuration for various AI model providers including API URLs and authenticati · 3152 unmodified lines | ||
| 3153 | 3153 | |
| 3154 | 3154 | `boolean` values |
| 3155 | 3155 | |
| 3156 | +## Markdown Preview | |
| 3157 | + | |
| 3158 | +- Description: Settings for the markdown preview | |
| 3159 | +- Setting: `markdown_preview` | |
| 3160 | +- Default: | |
| 3161 | + | |
| 3162 | +```json [settings] | |
| 3163 | +{ | |
| 3164 | + "markdown_preview": { | |
| 3165 | + "limit_content_width": true, | |
| 3166 | + "max_width": 800, | |
| 3167 | + "open_preview_on_file_open": false | |
| 3168 | + } | |
| 3169 | +} | |
| 3170 | +``` | |
| 3171 | + | |
| 3172 | +**Options** | |
| 3173 | + | |
| 3174 | +### Limit Content Width | |
| 3175 | + | |
| 3176 | +- Description: Whether to limit the maximum width of the rendered markdown content | |
| 3177 | +- Setting: `limit_content_width` | |
| 3178 | +- Default: `true` | |
| 3179 | + | |
| 3180 | +**Options** | |
| 3181 | + | |
| 3182 | +`boolean` values | |
| 3183 | + | |
| 3184 | +### Max Width | |
| 3185 | + | |
| 3186 | +- Description: The maximum width, in pixels, of the rendered markdown content when `limit_content_width` is enabled | |
| 3187 | +- Setting: `max_width` | |
| 3188 | +- Default: `800` | |
| 3189 | + | |
| 3190 | +**Options** | |
| 3191 | + | |
| 3192 | +Positive `number` values | |
| 3193 | + | |
| 3194 | +### Open Preview On File Open | |
| 3195 | + | |
| 3196 | +- Description: Whether opening a markdown file opens a markdown preview tab instead of a text editor | |
| 3197 | +- Setting: `open_preview_on_file_open` | |
| 3198 | +- Default: `false` | |
| 3199 | + | |
| 3200 | +**Options** | |
| 3201 | + | |
| 3202 | +`boolean` values | |
| 3203 | + | |
| 3156 | 3204 | ## Max Tabs |
| 3157 | 3205 | |
| 3158 | 3206 | - Description: Maximum number of tabs to show in the tab bar |