mirror of
https://github.com/marktext/marktext.git
synced 2025-05-02 22:59:11 +08:00

Replaced the key manager by atom-keymap to support non-US keyboards and dead key translation on macOS and Windows. In addition, a GUI for key bindings was added.
23 lines
842 B
Markdown
23 lines
842 B
Markdown
# Command Line Interface
|
|
|
|
```
|
|
Usage: marktext [commands] [path ...]
|
|
|
|
Available commands:
|
|
|
|
--debug Enable debug mode
|
|
--safe Disable plugins and other user configuration
|
|
-n, --new-window Open a new window on second-instance
|
|
--user-data-dir Change the user data directory
|
|
--disable-gpu Disable GPU hardware acceleration
|
|
-v, --verbose Be verbose
|
|
--version Print version information
|
|
-h, --help Print this help message
|
|
```
|
|
|
|
`marktext` should point to your installation of MarkText. The exact location will vary from platform to platform. On macOS, you can create a convenient alias like:
|
|
|
|
```sh
|
|
alias marktext="/Applications/Mark\ Text.app/Contents/MacOS/Mark\ Text"
|
|
```
|