marktext/doc/SETTINGS.md
Felix Häusler 004879b49a Modified themes and added dark and one dark theme (#826)
* Modified themes and added dark and one dark theme

* fix: print service

* Update documentation
2019-03-31 12:56:03 +08:00

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**