Reference
Exporting and Sharing
Everything the preview renders comes along when your document leaves the app: diagrams, math, syntax colors, callouts, images.
It all lives in one place. On the Mac, iPad, and iPhone that is the ⋯ button in the toolbar; on Vision Pro it is the Export button in the ornament beside the window. On the Mac every one of those actions also has a keyboard shortcut and a place in the menu bar, grouped the same way: File → Export, File → Send Email, Edit → Copy As.
Share
Hands the original Markdown file to the system share sheet: AirDrop, Mail, Messages, and any app that accepts documents.
Export PDF
| Shape | Best for |
|---|---|
| Paginated | printing and sending, as real pages with margins (⇧⌘E on the Mac) |
| Continuous | one long page for screen reading (⌃⌘E on the Mac) |
Page size follows your region: A4 or US Letter.
Export HTML
One self-contained file. Styles and code coloring are inlined and images are embedded, so it opens anywhere with no dependencies. Good for publishing, or for handing to someone who doesn't have PeepMD. ⌃⇧⌘E on the Mac.
Opens the standard print panel (⌘P on the Mac, AirPrint on iPad and iPhone) over the same paginated rendering the PDF export uses.
Copy
Three formats of the whole document, on the Mac also under Edit → Copy As:
- Rich Text: the rendered document, styled for pasting into Mail, Pages, or anywhere rich text lands. Images ride along. ⇧⌘C on the Mac.
- Markdown: the document's own text, unchanged. ⌃⌘C on the Mac.
- HTML: the rendered page as HTML. ⌃⇧⌘C on the Mac.
Plain ⌘C on the Mac is different, and selection-aware:
- With text selected, it copies the selection, like any app.
- With nothing selected, it is the same as Copy As → Rich Text.
Send Email
- Send as Attachment: the Markdown file itself, attached to a new message. ⇧⌘M on the Mac.
- Send as Email Body: the rendered document as the message, in whichever style you are reading in, images embedded. ⌃⌘M on the Mac.
A document whose front matter has to, cc, bcc, or subject opens the message with those filled in, so a letter written as a Markdown file is addressed before you see it. An address field holds one address, a list, or several separated by commas. On the Mac the composer takes to and subject; cc and bcc fill in on iPad, iPhone, and Vision Pro.
Ordinary text in the emailed body takes the mail composer's color, so it stays readable in light and dark mode. Code blocks, table headers, and highlights keep their own colors.
Both need a mail account set up on the device.
Round-tripping to your editor
On the Mac, ⌥⌘E opens the current document in your text editor: TextEdit by default, or whichever app you pick in Settings → General. The picker lists every app registered for Markdown, plus Other… for anything else.
iPad, iPhone, and Vision Pro have no equivalent: those systems do not let one app hand a file to a specific other app, and do not let an app see what you have installed. Use Share instead and choose your editor from the share sheet. Since documents open in place, whatever you change there is waiting for you the moment you come back to PeepMD.
Previous: Images and TextBundles · Contents · Next: Styles