Markdown Editors for AI
Markdown editors for Mac. Why a Markdown editor is important for work with AI agents. Kinds of Markdown editors and viewers. What to look for in Markdown editors.
Use a Markdown editor to read and edit the documents you use with an AI agent. Markdown is a way to write formatted documents as plain text, using a few symbols, such as # before a heading and - before a list item. John Gruber created it in 2004, for writing web pages.
For many years, people wrote documents in "word processor" apps such as Microsoft Word, which save files in their own formats. Those documents only open properly in the app that made them, or in apps built to copy its format. A Markdown file opens in any app that can read plain text, on any computer, so you can move a document from one app to another without converting anything. That is why programmers, writers, and websites adopted Markdown, and why it has become a common format for notes and documentation.
AI apps use Markdown for the same reasons. Plain text is easy for any program to read and write. Markdown's headings and lists give a document a structure that people and AI models both understand. Chatbots such as ChatGPT output their responses in Markdown. AI agents such as Claude Code and Codex go further. They read their instructions from Markdown files and save their plans and notes as Markdown. A project that uses AI will have agent instructions, project plans, and work history in Markdown files. You can read them with a text editor or an AI app, but a dedicated Markdown editor is more convenient. Setting up project files this way is sometimes called spec-driven development. It helps an agent finish work that takes more than one session.
The "Set Up Your Mac" apps offer to install a Markdown editor built for AI projects, and on a later screen, a knowledgebase for linked notes. This page explains why, what Markdown has to do with AI agents, and how Markdown editors differ, so you can choose one that suits your work. For work with an AI agent, I recommend a project editor, Yaxed, described in the article Project Editors for AI. It is one topic in "Set Up Your Mac", my guide to setting up a Mac. For everything else, see the complete Mac setup checklist.
Markdown editors in the "Set Up Your Mac" apps
The "Set Up Your Mac" app has screens to help you install an upgraded terminal application, a project editor, a code editor, and a knowledgebase for linked notes. Software developers typically use a code editor such as Zed, VS Code, or Cursor, which can display Markdown files. However, code editors are overly complex and clunky for editing Markdown, with toggling between viewing and editing files. And code editors are used less often as AI agents take over writing code.
The "Project editor" screen offers Yaxed, a free Markdown editor built for AI projects, which helps you manage an AI agent with plans and instructions. Yaxed is from the author of Mac Install Guide. The article Project Editors for AI explains what it does and why someone directing an AI agent needs it.
Later, the "Knowledgebase" screen offers three choices for linked notes. The first is my AI-Knowledgebase example project, a research wiki that an AI agent keeps for you. The other two are "second brain" apps, often called personal knowledge managers (PKMs): Obsidian, the most popular, and Tolaria, a newer free and open-source app made for working with AI agents such as Claude Code and Codex. Both keep your notes as ordinary Markdown files in a folder, so an AI agent can read and manage them too. The article Knowledgebases for AI compares these apps.
On the "Knowledgebase" screen, nothing is selected until you choose. Anything you already have is grayed out. Click "Skip" if you don't want any of them. The app installs your choice of apps with Homebrew, and when setup is done, its last screen has a button to open each one.
Why Markdown matters for AI
What Markdown looks like
Markdown marks formatting with a few symbols, such as # before a heading, - before a list item, and ** around bold text. It is not a proprietary format; any app that can open a plain text file can open a Markdown file. Markdown adds formatting that communicates additional meaning, such as headings and lists, without requiring the hidden formatting code that makes proprietary apps such as Microsoft Word unsuitable for use by so many other apps.
Here is a short file an AI agent might write:
# Plan for the signup page
## Goal
Let a visitor sign up with an email address.
## Steps
- Add a signup form to the home page
- Save each address to the database
- Send a welcome email **within one minute**
In a Markdown editor, you see a document with a large heading, a bullet list and bold text, and the symbols are hidden or faded. In a plain text editor, you see every symbol. A short file is easy to read either way, but a long document full of symbols is tiring to read. CommonMark's Markdown reference shows all the symbols you can use.
The format AI agents use
AI chatbots such as ChatGPT display answers in the chat window and allow you to copy or download in Markdown. AI agents go further and directly save their work as Markdown files. The agents also use Markdown files for guidance. Claude Code reads its instructions from a file named CLAUDE.md, Codex reads AGENTS.md, and the instructions for an agent skill are in a file named SKILL.md. When you ask an agent to plan a task, research a question or record what it did, it writes a Markdown file. Markdown suits agents because it is plain text, which any program can read and change, and its headings and lists add a meaningful structure that you and the agent both understand.
Context that lasts between sessions
An AI agent remembers almost nothing from one session to the next. What carries over is what the agent finds in the project folder. The Markdown documents in the folder give the agent its context (the information it works from) in every new session. They can hold its instructions, the plan, the decisions you've made, and notes about work history. The article Starter Projects shows how to set up a project folder this way. The article Agent Instructions explains the instruction files.
Your share of the work
In a Hacker News discussion in April 2026, some developers who work with AI agents said they now spend less time reading code and more time reading the Markdown files written by agents. Several developers built their own Markdown viewers to make it easy. That's why I say a Markdown editor is becoming more important than a code editor, especially when your role is directing an AI agent.
Agents also write too much. They pad documents, add things nobody asked for, and don't always separate a lasting decision from a passing remark. Documents go out of date as the work moves on, and an outdated document misleads the agent in its next session. So a developer must trim what the agent writes, and keep each document short and current. It's faster in a Markdown editor that shows the document clearly.
Kinds of Markdown editors
There are dozens of Markdown editors for the Mac, and they fall into rough groups according to intended purpose (use case). If:
- You direct an AI agent through a project - use a project editor.
- You mainly read a single file an agent writes - use a simple Markdown editor.
- You want one app with lots of features - look at the complex Markdown editors.
- You write long documents of your own - look at the writing apps.
- You collect notes over months or years and want them linked - choose a knowledgebase (a personal knowledge manager).
- You already use a code editor every day - see if its Markdown preview is sufficient.
Here I name the best-known products in each group, judged by how often people search for them and how often published comparisons include them, in October 2026. Prices and features change, so check each product's site before you choose.
Project editors
This is the category I recommend for work with AI agents.
A project editor is a Markdown editor built for a project folder, the folder where an AI agent works. It lists the agent's instruction files first, shows which documents the agent changed, and keeps your edits and the agent's from overwriting each other.
I recommend Yaxed, a free project editor I've written, which also lets you ask experts for help from inside the app. The article Project Editors for AI explains how a project editor differs from other Markdown editors, and what Yaxed does.
A few other new editors are also made for the documents that people and AI agents share. They reload a document the moment an agent changes it. Some also show what the agent changed, let you comment on an agent's plan, or run an agent from inside the editor. Examples include Nimbalyst, OpenKnowledge, Ritemark (made for people who don't write code) and markjason (a small Mac app for reading and editing agents' files). No product leads this group yet, and these apps are young, so expect them to change quickly.
Markdown viewers
A Markdown viewer renders text with Markdown formatting as a styled document for easier reading. Usually you need to jump back to raw text in another window to make edits.
A Markdown viewer is useful only if you read what an agent writes and never correct it. QLMarkdown, which is free, adds Markdown to the Finder's Quick Look, so you can select a .md file and press Space to see it formatted (open the QLMarkdown app once after you install it). Marked, a paid app now in its third version, shows a formatted preview of a file you edit in any other app and updates the preview each time the file is saved.
Simple Markdown editors
A simple Markdown editor opens a file or a folder and lets you edit the formatted document directly. Headings look like headings as you type, and the symbols appear only where your cursor is, or not at all (this is often called WYSIWYG, for "what you see is what you get"). ColaMD is a free and open-source editor of this kind. Typora is the best known, a paid app with a one-time price. MarkText is a free, open-source editor that works the same way, though Homebrew stopped installing it in September 2026 because it fails Apple's security check for downloaded apps (Gatekeeper). Other simple editors, such as MacDown 3000 (free and open source), show the raw text with a formatted preview beside it. A simple editor suits anyone who wants to read and revise an agent's documents without learning a complex app.
Complex Markdown editors
A few Markdown editors go beyond the basics, with a multitude of features. I looked recently at Coffee, a new, full-featured editor for Mac, iPhone, and iPad. It is like a full toolbox of gadgets, but saves files as Markdown notes. It also has an optional MCP server so Claude and other AI apps can read and write your notes. Coffee is free for 14 days, with no card or account. After that it costs €3 a month or €29 a year. From a solo developer in Portugal.
Writing apps
Writing apps are made for writing prose, with distraction-free screens, careful typography, and export to Word, PDF or a web page. Ulysses, sold by subscription, keeps your writing in its own library, though it can also edit Markdown files in an outside folder, with fewer features. Bear, a notes app (free, with a subscription for syncing), keeps notes in its own database, and since April 2026 it has offered an MCP server, a connection that lets an AI agent read and write your notes. Zettlr, free and open source, is made for academic and long-form writing, with citations from a reference manager such as Zotero. iA Writer, a paid app with a one-time price on the Mac, works with Markdown files in any folder you choose.
Personal knowledge managers
A personal knowledge manager (a PKM, often called a "second brain") holds a library of notes that grows over months or years, with links between the notes. Obsidian is the leader, and it is free, for work as well as personal use (it charges only for optional syncing and publishing services). Your notes are Markdown files in an ordinary folder (Obsidian calls it a vault), and Obsidian adds links between notes, a graph of the connections, and thousands of plugins written by its users. Because a vault is a folder of Markdown files, many people open it in Claude Code or Codex and ask the agent to search, summarize or organize their notes. Tolaria, released in April 2026, is a free and open-source PKM made for working with AI agents. Every note is a Markdown file, every vault is also a Git repository, so it keeps a history of changes, and Tolaria can run Claude Code, Codex and other command-line agents from inside the app.
Until recently, I used Obsidian for research, record keeping and rough drafts, but now I use Yaxed with an AI wiki because it is simpler. Another popular PKM is Logseq. It is free and open source, and organizes notes as outlines. Logseq's new version, in testing in October 2026, keeps notes in a database rather than as Markdown files. The article Knowledgebases for AI compares these apps, and shows how an AI agent can keep a research wiki for you in an ordinary folder.
Code editors
Code editors such as VS Code, Zed and Cursor open Markdown files beside your code and show a formatted preview in a separate pane. If you already use one every day, you may not need another app. A code editor also shows exactly which lines changed in a file, which helps when you check an agent's edits. The drawback is that you edit the raw Markdown and see the formatting only in the preview, which many people find awkward.
Features that set Markdown editors apart
Within each group, a few features stand out when you work with an AI agent. Check these before you choose:
- Plain files in your own folders - An agent can work only with files it can open. Choose an editor that saves each document as a
.mdfile in a folder you choose, not inside the app's own library. Then you can switch editors later without converting anything. - Formatted editing or a preview - Some editors let you edit the formatted document directly. Others show the raw text with a formatted preview beside it, or switch awkwardly between a reading view and an editing view.
- Reloading when a file changes - An agent may rewrite a document while you have it open. A good editor shows the new version at once, keeps your place in the document, and never loses what you typed. Test this before you rely on an editor. Open a long document, ask your agent to change it, and watch to see the display change.
- A folder view and search - A project holds many documents. A sidebar that lists the folder's files, and searches across all of them, helps you find the file the agent just wrote.
- Links between documents - An agent's documents often link to other files in the project. Knowledge managers open those links and show which notes link back. This feature is not important when you work in an AI project.
- Seeing what changed - Code editors and Git show exactly which lines an agent changed. Unlike code editors, most Markdown editors don't. Project editors mark the files an agent changed. Some also show the changes themselves.
- Export and sharing - Many editors export to PDF, Word or a web page, so you can share a nicely formatted document with people who don't use Markdown.
- AI inside the editor - Some editors include their own AI chat or agent, usually connected to an AI account you pay for. If you already use Claude Code or Codex, the agent works on the same files, so you don't need a built-in AI editor.
- Price and license - Markdown editors range from free and open source, to a one-time purchase, to a subscription. Many good ones are free.
Working with your computer and an agent
With a Markdown editor, the files in a project folder become a place where you and an AI agent work together. The agent writes plans and notes, and you read them, correct them, and decide what it does next. Open your Markdown editor when you start a project with an agent, and keep it open beside the agent while you work.
Recommended reading
- Project Editors for AI explains the kind of Markdown editor I recommend for directing an AI agent, and why I recommend Yaxed.
- Knowledgebases for AI compares Obsidian, Tolaria, and other apps for linked notes, and shows how an AI agent can keep a wiki for you.
- Starter Projects shows how to set up a project folder of Markdown documents for an AI agent.
- Agent Instructions explains
CLAUDE.mdandAGENTS.md, the instruction files your agent reads. - Spec-Driven Development explains how to plan work in Markdown specs before an agent writes code.
- CommonMark's Markdown reference lists the Markdown symbols on one page, with a ten-minute tutorial.
Continue setting up your Mac
Don't miss the full visual roadmap and checklist that shows how to set up a Mac for software development, with all the essential tools and settings you might not yet know about.