Math and chemistry, typeset on the phone
Write $…$ for a formula inside a line or $$…$$ for a block. Chemistry formulas with \ce{…} work too. No internet is needed.
Android 1.1.3
PilcrowMD opens .md files and shows them as clean pages: tables, code, math and diagrams. Edit in the same app. Free, open source, no account.
It draws GitHub-flavoured Markdown on your phone, not as raw symbols. These are screenshots of the real app.
Write $…$ for a formula inside a line or $$…$$ for a block. Chemistry formulas with \ce{…} work too. No internet is needed.
Since version 1.0.15, Mermaid diagrams are drawn on your phone, offline. Tap a diagram to see it full screen.
Fenced code blocks get syntax colours, with a Copy button. Diff blocks are coloured too, and wide tables and code scroll sideways.
Also rendered: task lists, footnotes, callout boxes, collapsible sections, front matter as a field list, emoji shortcodes and pictures stored next to the note.
The same app reads and edits: one Read/Edit button switches between the page and a source editor with Markdown colours.
Version 1.1.3 adds seven app languages, with a language choice in Settings.
Version 1.1.2 lets you save files that other apps open read-only and lets you fold headings in the Contents panel.
A file another app opens read-only, for example Samsung My Files, can now be saved in place. Save offers Allow editing: you pick the same file once in Android's file picker, and PilcrowMD saves into it from then on, also after a restart. Save a copy is still there.
Opening the same file again from My Files makes it read-only again until you allow editing once more; Recent keeps the permission.
In the Contents panel you can fold a heading to hide its sub-headings, or use Collapse all and Expand all. The reading text itself does not fold.
Add a folder of notes and browse it in My folders. New or changed notes carry a small mark until you open them, and a link between notes opens the other note. Adding or browsing never changes, renames or deletes your files. If a note changes outside PilcrowMD in the first 30 seconds after you open it from My folders, a notice offers to reload it.
The app has no internet permission since version 1.0.15, so it works offline and cannot send anything over the internet. There are no ads, no in-app purchases and no account. Files open from your file manager or another app through Open with and Share.
PilcrowMD is a Markdown reader and editor for Android 8.0 or later that draws .md files on your phone as clean pages and lets you edit them in the same app.
Yes, it is free, with no ads, no in-app purchases and no account.
Yes, because the app has had no internet permission since version 1.0.15, so it cannot send anything over the internet.
Yes, saving writes back exactly what you wrote, and a failed save never leaves a broken file.
Yes, it typesets LaTeX math and chemistry formulas, and since version 1.0.15 it draws Mermaid diagrams on your phone, offline.
You can install it from Google Play or F-Droid, and the source is public on GitHub under GPL-3.0-or-later; the F-Droid copy can be a version behind Google Play.
Short guides, by topic.
Free. Open source. No account.
Also on Mac: PilcrowMD for Mac (beta)