mirror of
https://github.com/marktext/marktext.git
synced 2025-05-21 03:10:29 +08:00
1.8 KiB
1.8 KiB
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.
- listIndentation: The list indentation of sub list items or paragraphs (
"dfm"
,"tab"
or number1-4
)dfm
: Each subsequent paragraph in a list item must be indented by either 4 spaces or one tab, we are using 4 spaces (used by Bitbucket and Daring Fireball Markdown Spec).number
: Dynamic indent subsequent paragraphs by the given number (1-4) plus list marker width (default).
- 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
ordefault
).
Window
- theme: Specifies the theme (
dark
,graphite
,material-dark
,one-dark
,light
orulysses
). - textDirection: The editor text direction (
ltr
orrtl
). - openFilesInNewWindow: If
true
files should opened in a new window. - titleBarStyle: Specifies the title bar (
csd
(macOS only),custom
ornative
).
Misc
- aidou: Show aidou menu entry.
Deprecated
- lightColor
- darkColor