mirror of
https://github.com/marktext/marktext.git
synced 2025-05-12 06:50:32 +08:00

* Modified themes and added dark and one dark theme * fix: print service * Update documentation
40 lines
1.4 KiB
Markdown
40 lines
1.4 KiB
Markdown
# Settings
|
|
|
|
## Options
|
|
|
|
### Editor
|
|
|
|
- **fontSize**: The editor font size.
|
|
- **editorFontFamily**: The editor font family name.
|
|
- **codeFontSize**: The code block font size.
|
|
- **codeFontFamily**: The code block font family name.
|
|
- **lineHeight**: The line height of the editor.
|
|
- **tabSize**: The number of spaces a tab is equal to.
|
|
- **autoPairBracket**: If `true` the editor automatically closes brackets.
|
|
- **autoPairMarkdownSyntax**: If `true` the editor automatically closes inline markdown like `*` or `_`.
|
|
- **autoPairQuote**: If `true` the editor automatically closes quotes (`'` and `"`).
|
|
- **hideQuickInsertHint**: If `true` the editor hides the quick insert hint.
|
|
- **preferLooseListItem**: The preferred list style. If `true` a loose list is preferred otherwise a tight list.
|
|
- **bulletListMarker**: The preferred list item bullet (`+`,`-` or `*`).
|
|
|
|
### Files
|
|
|
|
- **autoSave**: Automatically saves the file after editing.
|
|
- **endOfLine**: The default end of line character (`lf`, `crlf` or `default`).
|
|
|
|
### Window
|
|
|
|
- **theme**: Specifies the theme (`dark`, `graphite`, `material-dark`, `one-dark`, `light` or `ulysses`).
|
|
- **textDirection**: The editor text direction (`ltr` or `rtl`).
|
|
- **openFilesInNewWindow**: If `true` files should opened in a new window.
|
|
- **titleBarStyle**: Specifies the title bar (`csd` (macOS only), `custom` or `native`).
|
|
|
|
### Misc
|
|
|
|
- **aidou**: Show aidou menu entry.
|
|
|
|
### Deprecated
|
|
|
|
- **lightColor**
|
|
- **darkColor**
|