Deutsch English Español Français Italiano Svenska

Reference

Shortcuts

PeepMD gives the Shortcuts app eight actions: three that turn Markdown into HTML, PDF, or rich text, two that open documents, and three that change how PeepMD shows them. Find them under PeepMD when you add an action in Shortcuts on the Mac, iPad, and iPhone. On the Mac, Spotlight lists them too.

Convert Markdown

Convert Markdown to HTML, Convert Markdown to PDF and Convert Markdown to Rich Text each take a Markdown file, a TextBundle, or text from an earlier action, and hand back a file named after the input. They run without opening a window.

  • HTML is the same self-contained page as Export HTML, with the style and images inside it.
  • PDF is the same file as Export PDF. Layout chooses Paginated, broken into pages, or Continuous, one long page.
  • Rich Text is the styled text of Copy As → Rich Text, as an .rtf file, ready for Mail, Pages, and Word. Hand it to Copy to Clipboard and it pastes with its styles.

HTML and PDF take a Style. Leave it empty for the style chosen in PeepMD. The code colors follow the code theme chosen in PeepMD. Images resolve against the file's folder, so text from an earlier action renders without its relative images.

Open documents

Open Document opens a document PeepMD has opened before, picked by its title and file name. PeepMD remembers a document for as long as its file exists, through moves and renames. A shortcut that opens your notes keeps working when the file moves to another folder.

Open Markdown File opens any Markdown file or TextBundle a shortcut hands it, the way opening it from Finder or Files does.

Change the look

Set Style, Set Appearance, and Set Code Theme change the same settings as Settings and the status bar, and every open window follows at once.

  • Set Style takes any style in the style menu, your own included.
  • Set Appearance takes System, Light, or Dark.
  • Set Code Theme takes a theme, or Follow Style to hand code colors back to the style.

Run them from an automation in Shortcuts, at a time of day or when a Focus turns on, to read in dark at night and in light during the day.


Contents · Previous: Settings

Previous
Settings