MarkText logoMarkTextDocs
User documentation

Environment#

NameDescription
MARKTEXT_DEBUGEnable debug mode.
MARKTEXT_DEBUG_KEYBOARDPrint more keyboard information when debug mode is enabled.
MARKTEXT_ERROR_INTERACTIONNever show the error dialog to report bugs.
MARKTEXT_PANDOCOverride the Pandoc executable path.
MARKTEXT_RIPGREP_PATHOverride the ripgrep executable used for file and text searches.

Development

NameDescription
MARKTEXT_EXIT_ON_ERRORExit on the first error or exception that occurs.

The boolean switches treat non-empty environment values as enabled, so MARKTEXT_DEBUG=0 also enables debug mode. Development mode itself is selected at build time; setting NODE_ENV=development does not turn a packaged release into a dev build.