marktext/static/preference.md
2019-03-07 22:59:40 +08:00

48 lines
1.2 KiB
Markdown
Executable File

### :bust_in_silhouette:User Preferences
Edit and save to update preferences. You can only change the JSON below!
- **theme**: *String* `dark` or `light`
- **autoSave**: *Boolean* `true` or `false`
- **endOfLine**: *String* `lf`, `crlf` or `default`
- **bulletListMarker**: *String* `+`,`-` or `*`
- **textDirection**: *String* `ltr` or `rtl`
- **titleBarStyle**: *String* `csd` (macOS only), `custom` or `native`
```json
{
"fontSize": "16px",
"editorFontFamily": "Open Sans",
"codeFontFamily": "DejaVu Sans Mono",
"codeFontSize": "14px",
"lightColor": "#303133",
"darkColor": "rgb(217, 217, 217)",
"lineHeight": "1.6",
"theme": "light",
"autoSave": false,
"aidou": false,
"hideQuickInsertHint": false,
"preferLooseListItem": true,
"bulletListMarker": "-",
"autoPairBracket": true,
"autoPairMarkdownSyntax": true,
"autoPairQuote": true,
"endOfLine": "default",
"tabSize": 4,
"textDirection": "ltr",
"titleBarStyle": "csd",
"openFilesInNewWindow": true
}
```
More user preferences coming soon.
**Please use `Cmd + S`/`Ctrl + S` to save your preferences and reload Mark Text to use your setting!**
> Your friends at Mark Text.