mirror of
https://github.com/marktext/marktext.git
synced 2025-05-03 00:51:26 +08:00

* feature: add editorFont setting in user preference. * Remove unused code. * Update editor.js * Update preference.md * Add editorFontFamily fallback * Remove unused code.
31 lines
708 B
Markdown
Executable File
31 lines
708 B
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`
|
|
|
|
```json
|
|
{
|
|
"fontSize": "16px",
|
|
"editorFontFamily": "Open Sans",
|
|
"lightColor": "#303133",
|
|
"darkColor": "rgb(217, 217, 217)",
|
|
"lineHeight": "1.6",
|
|
"theme": "light",
|
|
"autoSave": false,
|
|
"aidou": false,
|
|
"preferLooseListItem": true,
|
|
"autoPairBracket": true,
|
|
"autoPairMarkdownSyntax": true,
|
|
"autoPairQuote": 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.
|