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.

73%
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.

Local REST API & MCP Server

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

QuickAdd

Quickly add new notes or content to your vault.

Recent Files

Display a list of recently opened files.

TaskNotes

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

Omnisearch

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

Day Planner

Day planning from a task list in a Markdown note with enhanced time block functionality.

Claudian

Embeds Claude Code/Codex as an AI collaborator in your vault. Your vault becomes agent's working directory, giving it full agentic capabilities: file read/write, search, bash commands, and multi-step workflows.

Tasks

Track tasks across your vault. Supports due dates, recurring tasks, done dates, sub-set of checklist items, and filtering.

Various Complements

Complete words similar to auto-completion in an IDE.