Markdown on iPad: files, sync and editors
For Markdown on an iPad, pick an app that edits real .md files in a folder the Files app can see, and keep that folder in iCloud Drive so your Mac sees the same notes. MiaoYan's iPad app does that: it opens the folder your Mac uses, shows a three-column library, supports side-by-side Split View (⌘\) as well as separate reading and editing modes, and hands notes back and forth with Mac and iPhone through Handoff.
What an iPad Markdown setup needs
Four things decide whether it works day to day.
- Where the files live. Notes should be ordinary files in a folder, not rows in an app database. Then Files, backups and any other editor can reach them.
- How you edit. A hardware keyboard, or the on-screen one with formatting help. Apps differ a lot here.
- Preview. Some apps show a styled preview beside the text, some switch between the two.
- Sync. Whatever moves the folder to your other devices. For Apple-only setups that is usually iCloud Drive.
The first and last are the ones that bite later. A note stuck in an app's private storage is hard to leave, and a folder that has not finished syncing looks like a missing note.
MiaoYan on iPad
MiaoYan's site says the same App Store purchase runs on iPhone and iPad and opens the same iCloud Drive folder as your Mac. It is a one-time payment with no subscription or in-app purchases, and the iPhone and iPad apps require iOS or iPadOS 18 or later.
What the iPad app includes:
- On a wide screen it uses a three-column layout: a sidebar with Recent, All Notes, your folders and Trash, a note list, and the note itself.
- Open a note in the reading view, tap Edit to write Markdown, or press
⌘\(or tap the split button) on iPad for side-by-side editor and live preview. Task boxes can be ticked both in the reading view and directly on[ ]/[x]lines in the source editor, and a note with two or more headings offers Contents in its menu. - While editing, a menu beside "Done" has Insert Photo (saving locally to
i/or uploading straight to S3 / Cloudflare R2 when configured), Find in Note, Undo and Redo, and you can drag images from Photos or Safari straight into the editor. Typing[[opens live note-title completion, and renaming a note updates incoming wikilinks across the library. - Export and sharing cover Share as Image (1080px long image or 3:4 paged cards), Export PDF, Copy HTML and plain
.mdsharing, plus per-note Version History and Note Info (word, character, paragraph and reading-time counts with clickable backlinks). Search matches titles and bodies locally and supports#tagandtodo:filters. - Settings has Appearance (font and size), Image Upload (S3 / R2) and Library ("Choose Folder"), which reads and writes Markdown files in the folder kept in sync by iCloud Drive or your cloud drive app.
- The reader renders tables, inline footnote popovers,
==highlights==, strikethrough, task lists and GitHub-style alerts, highlights code with highlight.js, draws Mermaid, Markmap and PlantUML diagrams, and typesets LaTeX math and\cechemistry with bundled KaTeX without a network.[[Title]],[[Title|alias]]and[[Title#Heading]]wikilinks open the target note or section, and tapping an image shows it full screen.
With a hardware keyboard the editor takes the Mac's format keys: ⌘B, ⌘I and ⌘U for bold, italic and underline, ⌘K for a link, ⌘E for inline code, ⇧⌘E for a code block and ⇧⌘X for strikethrough. ⌘T toggles a task, ⌘] and ⌘[ shift lines right and left, and Tab and Shift-Tab move across table cells or indent a list item. ⌘N starts a note, ⌘\ toggles Split View on iPad, and ⌘3 switches between reading and editing.
Outside the app, Handoff lets you continue the open note between Mac, iPhone and iPad from the Dock or App Switcher. You can also touch and hold the Home Screen icon for New Note, open or create notes with miaoyan:// links, put Recent Notes widgets on the Home Screen and Lock Screen and a New Note button on the Lock Screen or in Control Center, create, open, search and append to notes from Shortcuts and Siri, and find notes in system search. The interface comes in English, Simplified and Traditional Chinese, Japanese, Korean, German, French and Spanish. The syntax is covered in the Markdown cheat sheet and LaTeX math in Markdown.
How the iPad finds your notes
The Mac app reads a folder you choose in Settings. The iPad app finds the library in one of two ways. On first launch it checks iCloud Drive and, when it is available, uses the app's own iCloud Drive folder, which the app declares as public so it shows in the Files app under the name MiaoYan. With no iCloud account it has, since 4.8.0, made a MiaoYan folder on the device instead, shown in Files under On My iPad. To use another folder, pick one with Choose Folder. The app then reads and writes plain files there.
So the sync path is: the Mac saves a .md file in iCloud Drive, iCloud uploads it, the iPad sees the file appear and lists it. MiaoYan has no sync of its own. That is why the folder on the Mac must be the same iCloud Drive folder the iPad opens. The details are in Sync Markdown notes across devices.
One more detail: the iPad app first reads the catalog of notes iCloud reports and then their contents. During a first launch it shows "Found N notes…", and until the files arrive search shows a count such as "12 iCloud notes still downloading". A list that looks short right after install is usually this, not data loss.
When a note does not show up on the other device
Work down this list.
- Check the Mac saved it. The Mac app writes the file about a second and a half after you stop typing. Open the folder in Finder and confirm the
.mdfile is there. - Check both devices point at the same folder. On the Mac, Settings > "Note Location". On the iPad, Settings > Library. A different folder on either side means two separate libraries.
- Look for a sync status. In Settings > Library the iCloud row reads Syncing, Synced or Off. Off means the app has no iCloud container, because the iPad is signed out of iCloud or iCloud Drive is off for MiaoYan, so check both; it says nothing about the network. A folder picked in Files has no iCloud row, since MiaoYan does not sync it.
- Wait for the first launch to finish. On a large library the first read takes a while, and search shows how many iCloud notes are still downloading.
- Pull down on the note list to reload it if a note exists on disk but not in the list.
- Open Files. If the note is in iCloud Drive in Files, the problem is the app. If it is not, the problem is iCloud.
When the same note is edited on two devices, the iPad opens a conflict diff sheet comparing your edits with the incoming file so you can choose Reload, Keep Mine or Keep Both (saving your copy alongside it). The Mac backs up unsaved text in a hidden .miaoyan-conflicts folder when an external change arrives.
Other iPad Markdown editors
MiaoYan is one choice. These are worth knowing about, from their own pages.
- iA Writer writes in plain text with Markdown and lets you switch to a styled Preview. The iPad and iPhone version is a one-time payment, and Mac and Windows have free trials.
- 1Writer has inline Markdown preview and a full preview, a customizable extra keyboard row, multiple windows and drag and drop, and syncs Dropbox and WebDAV folders and iCloud Drive.
- Obsidian on mobile adds an editing toolbar at the bottom and a Quick Action gesture, and its help page says it works similarly to the desktop app.
1Writer is the one of these three that lists Dropbox and WebDAV folders, and Obsidian is the choice if your notes already live in an Obsidian vault. MiaoYan fits when your notes are a folder you share with a Mac and you mostly read and make short edits on the iPad. If you want an overview of the Mac side, see Choosing a Markdown editor for Mac.
FAQ
Can I edit the same Markdown files on a Mac and an iPad?
Yes, as long as both open the same iCloud Drive folder. Let the sync finish before you switch devices, and avoid editing one note on both at once.
Does MiaoYan on iPad have a keyboard shortcut for bold?
Yes, with a hardware keyboard: ⌘B wraps the selection in **, ⌘I in *, and ⌘U in <u> tags. ⌘K writes a link, ⌘E inline code and ⇧⌘X strikethrough. ⌘T toggles a task and Tab indents a list item. Headings have no key, so type # yourself.
Does the iPad app need a subscription?
The site says it is a one-time purchase with no subscriptions or in-app purchases, and the same purchase covers Mac, iPhone and iPad.
Are my notes stored in the app?
No. They are .md files in the folder you chose, visible in the Files app.
