History

Add documentation

Danilo Leal committed 3 months ago

Commit 864cba21 parent b6ac9be1 file · +48 −0Browse files

Showing the changes to docs/src/reference (1 of 1 file). Show all

Unified · Split

docs/src/reference/all-settings.md+48−0
@@ -3153,6 +3153,54 @@ Configuration for various AI model providers including API URLs and authenticati · 3152 unmodified lines
31533153
31543154 `boolean` values
31553155
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+
31563204 ## Max Tabs
31573205
31583206 - Description: Maximum number of tabs to show in the tab bar

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t