Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

description of todo.txt format in plain text #68

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,21 @@ This is all possible inside `todo.txt`.

## `todo.txt` format rules

<img src="./description.svg" width="100%" height="500">
```
┌───────────────────────────────── Optional - Marks completion
│ ┌────────────────────────────── Optional - Marks priority
│ │ ┌─────────────────────── Optional - Completion date
│ │ │ ┌──────────── Optional - Creation date
│ │ │ │ (must be specified if completion date is)
│ │ │ │ ┌─── Mandatory - Description
│ │ │ │ │ Tags (optional) can be placed anywhere within it
│ ┌┴┐ ┌───┴────┐ ┌───┴────┐ ┌─┴────────────────────────────────────────────────────┐
x (A) 2016-05-20 2016-04-30 measure space for +chapelShelving @chapel due:2016-05-30
└──────┬──────┘ └──┬──┘ └──────┬─────┘
project tag ──────┘ │ │
context tag ──────────────────┘ │
special key-value tag ────────────────────┘
```

Your `todo.txt` is a plain text file. To take advantage of structured task metadata like priority, projects, context, creation, and completion date, there are a few simple but flexible file format rules.

Expand Down