Steps on iPhone and iPad
- Open this page in Safari.
- Paste your Markdown into the editor. To open a file, press Open .md file and pick it from Files.
- Check the preview below the editor. The editor and preview stack on a small screen.
- Press the Download PDF button at the bottom of the screen.
- On the print preview that opens, spread two fingers apart over the page. The PDF opens full screen.
- Tap the Share button, then Save to Files. You can also send it to Mail or Messages from there.
Tips for a small screen
- Use narrow margins. They fit more text on a small page, and the sample on this page has them on.
- Wide tables scroll sideways in the preview. In the PDF they are laid out at paper width.
- Turn your phone sideways to see more of the editor.
- Tap Clear when you finish, so the saved draft does not stay on the phone.
Where the text goes
The conversion runs in Safari on your phone. Your text is not sent to a server. The PDF is made on the device and goes to Files, where only you can see it.
Page numbers on iPhone
Safari does not draw page numbers in print. If you need them, make the PDF on a computer in Chrome or Edge. The page count in the status line still works as a guide.