Documentation Index
Fetch the complete documentation index at: https://mintlify.com/xwmx/nb/llms.txt
Use this file to discover all available pages before exploring further.
nb todo (shortcut: nb to) creates and manages structured todo items stored as Markdown files (.todo.md). Each todo is a single primary task with an optional due date, description, subtask list, related links, and tags. The companion commands nb todos, nb tasks, nb do, and nb undo let you list, filter, complete, and re-open todos and individual tasks.
Usage
Todo File Format
Todos are structured Markdown documents. The title line uses an[ ] / [x] checkbox heading to indicate open/closed status:
The
# [ ] Title heading is the primary status indicator. nb updates it to # [x] Title when you run nb do. All other sections are optional.Creating Todos
Basic Todo
With a Due Date
Use--due to add a ## Due section:
With a Description
With Subtasks
Add one or more--task options to create a ## Tasks checklist:
With Related Links
Link relatednb items or external URLs using -r / --related:
With Tags
Options for todo add
The title of the todo. This becomes the
# [ ] Title heading.A description placed in a
## Description section.A due date or time placed in a
## Due section.A related URL or
nb selector. Use multiple times to add multiple related items.A comma-separated list of tags added as
#hashtags in a ## Tags section.A task title to add to the
## Tasks checklist. Use multiple times for multiple tasks.Listing Todos
Usenb todos to list all todos in the current notebook:
Marking Todos Done and Undone
nb do / nb todo do
Mark a todo as done (closed). The heading changes from # [ ] to # [x]:
nb undo / nb todo undo
Re-open a closed todo:
Tasks
Any Markdown document can contain tasks, not just.todo.md files. Tasks are Markdown list items beginning with - [ ] (open) or - [x] (done):
Listing Tasks with nb tasks
nb tasks (shortcut: nb t) lists both tasks and todos across notebooks, folders, and individual items:
9 2 is task 2 inside item 9.
Completing and Reopening Tasks
Usenb do with a task number to mark a specific task as done:
nb todos tasks
List tasks specifically within the todo system:
Examples
Shortcut Aliases
| Command | Alias / Shortcut | Description |
|---|---|---|
nb todo | nb to | Manage todos |
nb todo add | nb todo a, nb todo + | Add a new todo |
nb todo delete | nb todo - | Delete a todo |
nb todos | nb todo | List todos (alias) |
nb tasks | nb t | List tasks and todos |
Subcommand Reference
nb todo add
Create a new structured todo with optional due date, description, tasks, related links, and tags.
nb todo do / nb do
Mark a todo or a specific numbered task as done. Updates the
[ ] checkbox to [x].nb todo undo / nb undo
Re-open a done todo or task. Reverts
[x] back to [ ].nb todos
List todos. Filter with
open, closed, or --tags.nb tasks / nb t
List tasks across all items in a notebook. Also lists todos. Filter with
open or closed.nb todos tasks
List tasks within the todo system, with optional
open/closed filter.