You rely on Markdown for everything from READMEs to AGENTS.md and SKILL.md files. But when working across multiple projects, files with the same name can become confusing, and checking if a table or list rendered correctly usually requires constant context-switching to a browser.
Margin gives you a side-by-side preview so you can see your changes as you type. Because it saves automatically, your agent always has access to the most up-to-date version of your documentation. You also get the full SwiftUI project and agent instructions, so you can customize the editor with Claude or Codex to fit your workflow.
Features
- Keep track of files across projects. See project folder names in your recent files, so you always know which
AGENTS.mdorSKILL.mdyou're editing. - Preview Markdown as you type. See your rendered text side-by-side with the editor, so you can quickly spot formatting issues.
- Never worry about saving. Auto-save keeps your files up to date as you work, switch apps, or quit Margin.
- Read Markdown more easily. Bold headings and subtle syntax highlighting make long documents easier to scan.
- Switch between light and dark modes. Choose the appearance you prefer, and Margin remembers your choice.
- Make the editor your own. Use your coding agent to customize the SwiftUI app, add features, and run tests to check its changes.
FAQs
Which Markdown features are supported in the preview?
The preview renders standard Markdown. It does not run JavaScript, so elements like Mermaid diagrams or math that require scripts will show as plain text. However, you can ask your coding agent to add support for them if you need.
Does it send my data anywhere?
No. Margin is sandboxed and has no account or analytics. It only accesses the files you open and goes online only to load remote images, audio, or video that your Markdown files link to.
Will my custom version interfere with the original app?
No. If you plan to customize Margin, first ask your coding agent to build your own version with a separate bundle identifier. This keeps your custom app, settings, and recent files separate from the original, so any future changes are made to your version.