The per-user application data directory is located in the following directory:
%APPDATA%\marktexton Windows$XDG_CONFIG_HOME/marktextor~/.config/marktexton Linux~/Library/Application Support/marktexton macOS
When portable mode is enabled, the directory location is either the --user-data-dir parameter or marktext-user-data directory.