Make Jotra the app for .md and .txt

Once per file type. After that a double-click in Finder or Explorer opens the file in Jotra.

macOS

  1. Open Settings (⌘,), Integrations. Open these file types with Jotra has a box per group: Plain text & logs, Markdown, Config & data, Source code. Tick the groups you want; a ticked box stays ticked while Jotra holds the type.
  2. macOS keeps the choice per type, so claiming Markdown does not change what opens .txt. To hand a type to another app, pick that app in Finder: Get Info on one file, Open with, Change All.

Windows

  1. Right-click any .md file, Open with, Choose another app.
  2. Pick Jotra and tick "Always use this app".
  3. Repeat for .txt or any other extension you want here.

Linux

The .deb installs a desktop entry named Writ.desktop, so Jotra appears in your file manager's Open With list. To make it the default from a terminal:

xdg-mime default Writ.desktop text/markdown
xdg-mime default Writ.desktop text/plain

With the AppImage, register it first with AppImageLauncher (or any integrator that writes a desktop entry), then run the same commands with the name it created.

What opening a file means

The file opens in a tab under its own name and is saved back to its own path as you edit. If the file changes on disk while it has unsaved edits, Jotra asks before replacing them. Closing the tab saves your last edits and never deletes the file.

Related: the default app in the docs.