How to manage projects with Markdown and Mermaid Gantt charts

Manage projects with Markdown and Mermaid Gantt charts

With Mermaid’s gantt syntax, you can draw a Gantt chart just by writing text in a Markdown code block. You declare the date format with dateFormat, group the phases with section, and write one line per task. One overview note and a weekly update are enough to keep tracking progress.

Project management tools are convenient, but they come with a monthly fee, your data is locked inside the service, and no one knows whether that service will still be around in a few years.

Text files, on the other hand, will still open 30 years from now. This article shows you how to track project progress with nothing but Markdown and Mermaid.

Why manage projects in plain text

  • Opens in any editor. You’re not tied to a particular app
  • You can see the diffs. Keep it in Git, and you have a record of who changed what, and when
  • It’s searchable. Finder or grep—it works like any ordinary file
  • Easy to hand to AI. These days, this is the biggest advantage of all (more on this below)

How to write a Mermaid Gantt chart

Mermaid is a syntax for drawing diagrams with text. You write it in a Markdown code block marked mermaid.

```mermaid
gantt
title Website relaunch
dateFormat YYYY-MM-DD
axisFormat %m/%d
excludes weekends

section Prep
Gather requirements :done, req, 2026-09-01, 5d
Set design direction :done, des, after req, 4d

section Build
Build home page :active, top, 2026-09-12, 7d
Build inner pages : sub, after top, 10d

section Launch
Internal review :crit, rev, after sub, 3d
Go live :milestone, m1, after rev, 0d
```

There isn’t much to remember.

SyntaxMeaning
dateFormat YYYY-MM-DDDate format (declare it first)
section NameGroups tasks into phases
:done,Completed task (gray)
:active,Task in progress (darker color)
:crit,Critical task (red)
:milestone,Diamond-shaped marker for a deadline
after reqStarts after another task (ID req) ends
5d / 2wDuration (days, weeks)
excludes weekendsLeaves Saturdays and Sundays out of the day count

Common pitfalls

  • If you forget dateFormat, dates won’t be parsed
  • A : inside a task name causes an error
  • after refers to the ID, not the task name (req, top and so on in the example above)

A simple routine for tracking progress

Elaborate routines don’t last. These three habits are all you need.

  1. Make one overview note per project. The goal, the people involved, where things stand, what’s next, and the Gantt chart
  2. Update it only once a week. Change :active to :done and fix the dates of tasks that slipped. It takes five minutes
  3. Write small tasks as checklists. Write them like - [ ] Send the draft, and you can see unfinished items at a glance

The Gantt chart is for seeing the overall shape; day-to-day task management is the checklist’s job. Being able to keep both in a single file is what makes this approach work.

Where you can view the diagrams

Mermaid renders as is in Markdown on GitHub and GitLab. If you want to see it as you write on your own Mac, you need an editor that supports Mermaid.

  • Markdocx has Mermaid built in, and rendering happens entirely on your Mac. One app takes you all the way to exporting the finished document as Word or PDF
  • Orviss includes a Gantt chart in its Project Overview template from the start. Just add lines to start tracking progress

Let an AI agent read it

This is where managing in text really pays off.

AI agents like Claude Code, Codex and Cursor can read and write the files in a folder. If your project materials are plain Markdown on your local disk, just point the agent at that folder, and requests like these

  • “Summarize where this project stands in five lines”
  • “Pick up the unfinished tasks from last week’s meeting notes and add them to the checklist”
  • “We’re three days behind, so redo the dates in the Gantt chart”

will just work. No special integration setup, no API keys. Your project folder simply becomes the AI’s outboard brain.

Orviss is an app built with this way of working in mind. In project and date folders, you can keep not only Markdown notes but also ordinary files, web pages and emails together. Everything is plain local files, so changes the agent makes show up on screen right away. As of November 2026, it is available on Mac, iPhone, iPad and Windows.

→ Learn more about Orviss

Frequently asked questions

How do I write a Mermaid Gantt chart in Markdown?

Put a code block labeled mermaid in your Markdown and start it with gantt. Declare the date format with dateFormat YYYY-MM-DD, group phases with section, and write one line per task in the form “name :status, ID, start date, duration”.

How do I make a task start after another task in a Mermaid Gantt chart?

Write after followed by the ID of the earlier task (for example, after req). You refer to the task’s ID, not its name.

Why does my Mermaid Gantt chart show an error?

There are three common causes: forgetting dateFormat, writing a : inside a task name, and writing a task name instead of an ID after after. Without dateFormat, dates are not interpreted.

Where can I view a Mermaid Gantt chart?

GitHub and GitLab render Mermaid in Markdown as is. To see it while you write on a Mac, you need an editor that supports Mermaid. Markdocx and Orviss both support Mermaid.

Can an AI agent read a project I manage in Markdown?

Yes. AI agents such as Claude Code, Codex and Cursor can read and write the files in a folder, so if your project materials are plain Markdown, you can just let the agent open the folder and ask it to summarize the project or redo the dates in the Gantt chart. No special integration or API keys are needed.

Summary

  • Mermaid’s gantt is a simple syntax with fewer than 10 things to remember
  • One overview note plus a weekly update keeps progress tracking going
  • Keeping things in text means you can hand them straight to an AI agent as context

More about Orviss