The question most people arrive with, and the one nobody can fix from inside an app.
Double-clicking a .md file opens the wrong app
MacSelect the file in Finder, press Command-I, choose NanoFile under Open with, then Change All.
NanoFile cannot do this for you, and neither can any of the alternatives. An app installed from the App Store is not allowed to change which app owns a file type: the API exists and compiles, and the sandbox refuses it at runtime. So this is one minute of your time, once, and then it is done.
Why no App Store app can do this for you →The space bar in Finder shows nothing
MacCheck that the Quick Look extension is switched on. Open System Settings, then General, then Login Items and Extensions, find Quick Look, and turn NanoFile on.
macOS sometimes leaves a newly installed extension switched off without saying so. Often it works straight away, which is why this is worth checking rather than assuming.
How do I open a file that is in another app?
iPhone and iPadTap Open, then Open File, and pick it in Files, which reaches iCloud Drive, Dropbox and anything else you have installed. From Mail or Messages, tap the attachment, then the share icon, then NanoFile.
There is no importing step and no library. The file stays where it is, and what you save goes back to it.
Tapping a .md file opens something else
iPhone and iPadThere is no setting on iPhone or iPad for which app owns a file type, so no app can claim one. Use the share icon on the file and choose NanoFile, which works from every app and takes one tap.
This is the one place where the phone is the simpler case. On a Mac the equivalent is a real setting and you have to go and change it once, which is the question above.
What can it open besides .md?
EverywhereOn this website, sixteen: markdown in all its extensions, plain text, the common data formats, and files with no extension at all such as README, LICENCE and CHANGELOG. The viewer says plainly when a file is not one it reads, rather than showing you something broken.
The app opens far more than that. Ninety-one extensions, fifteen dot-files and twenty-one bare names, including fifty-six code extensions across thirty-five highlighted languages. Everything this site opens, the app opens; the reverse is not true, so a .gradle or a .zshrc is an app question rather than a website one.
Data files are shown as coloured code, with one exception worth knowing: in the app a CSV or a TSV becomes a real table rather than a wall of commas.