Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

TodoTxt Codeblocks

benjamonnguyenbenjamonnguyen4k downloads

Manage your tasks inside code blocks according to the Todo.txt specification.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates17

A codeblock alternative to mvgrimes's obsidian-todotxt-plugin based on the Todo.txt specs.

Add your tasks to a todotxt codeblock to get started!

Link your codeblock to an existing *.txt file to synchronize changes.

Features

  • Sorting (listed in order of priority)
    • string[]
      • proj (project)
        • ex. "sort:proj:Home,Work"
      • ctx (context)
        • "n/c" = no context
        • ex. "sort:ctx:bug,feature,n/c,nice-to-have"
    • desc/asc (defaults to asc)
      • status
      • prio (priority)
      • completed (completed date)
      • due (due date extension)
      • created (created date)
      • ex. "sort:status sort:created:desc"
    • default (ex. "sort:default")
  • Live Preview
    • Collapsible project groups
    • Edit, add, delete buttons
    • Render Markdown links
  • Autocompletion for projects and contexts
  • Archive completed tasks to archive.txt file
    • Auto-archive setting
  • Configurable defaults

Commands

  • Create new task in focused list
  • New codeblock at cursor

Extensions

  • due: (Due date)
  • rec: (Recurrence frequency)

Language line options (not yet implemented)

  • get: Query for existing Todo.txt tasks and move to current codeblock
  • src: Link a *.txt file to the todotxt codeblock
  • filter:

Extensions

  • date formats
    • <YYYY-MM-DD> (ex. 1996-08-06)
    • <MM-DD> (ex. 08-06)
    • <n><[dateUnit]> (ex. 1w = 1 week from today)
      • calculates date n number of dateUnits away
      • dateUnits: d, w, m, y, b (business day)
      • if only a number is provided, it will calculate days (ex. 0 = today, 1 = tomorrow, 7 = next week)
    • <dayOfWeek> (ex. M = next Monday)
      • calculates date for first upcoming dayOfWeek
      • M, Tu, W, Th, F, Sa, Su
    • dayOfWeek and dateUnits (except b) can be combined (dayOfWeek must come first)
      • 1w2d = 9 days (1 week + 2 days)
      • Su5d = first upcoming Sunday in 5 days
    • if the rec: value is prefixed with a plus (ex. rec:+1w), the date is determined from the original due date rather than the completed date

Donations

Feel free to support me if you enjoy the plugin!

Acknowledgements

Thanks to hieuthi's joplin-plugin-metis for the inspiration.

HealthGood
ReviewSatisfactory
About
Manage Todo.txt tasks inside Obsidian via todotxt-style codeblocks. Link codeblocks to .txt files for two-way sync, sort and group tasks by project or context, preview and edit tasks inline, autocomplete projects/contexts, render Markdown links, and archive completed tasks.
TasksFilesAutocomplete
Details
Current version
1.0.1
Last updated
2 years ago
Created
3 years ago
Updates
17 releases
Downloads
4k
Compatible with
Obsidian 0.15.0+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Sponsor
Buy Me a Coffee
Author
benjamonnguyenbenjamonnguyen
github.com/benjamonnguyen
GitHubbenjamonnguyen
  1. Community
  2. Plugins
  3. Tasks
  4. TodoTxt Codeblocks

Related plugins

Notebook Navigator

A better file browser and calendar inspired by Apple Notes, Bear, Evernote and Day One.

TaskNotes

Note-based task management with calendar, pomodoro and time-tracking integration.

Claudian

Embeds Claude Code/Codex and other local Agents as AI collaborators in your vault.

Advanced URI

Control everything with URI.

Tasks

Track tasks across your vault. Supports due dates, recurring tasks, done dates, sub-set of checklist items, and filtering. Maintained by Clare Macrae and Ilyas Landikov, created by Martin Schenck.

Local REST API with MCP

Unlock your automation needs by interacting with your notes over a secure REST API.

Day Planner

Turn tasks from daily notes, the Tasks plugin, and calendars into time blocks on an editable timeline, with built-in time tracker.

Find orphaned files and broken links

Find files that are not linked anywhere and would otherwise be lost in your vault. In other words: files with no backlinks.

Omnisearch

Intelligent search for your notes, PDFs, and OCR for images.

Recent Files

Display a list of recently opened files.