xwmx / nb

CLI and local web plain text note‑taking, bookmarking, and archiving with linking, tagging, filtering, search, Git versioning & syncing, Pandoc conversion, + more, in a single portable script.
https://xwmx.github.io/nb
GNU Affero General Public License v3.0
6.43k stars 180 forks source link

Tasks in Metadata #267

Open rhsev opened 10 months ago

rhsev commented 10 months ago

I am using MacOS 13.5.1, nb 7.5.8

The beginning of a markdown file looks like this:

---
comment: 2023-08-27
keywords: 
title: # [x] Aufgabe
---

## Tasks: Eingang

If I list the content of a folder with nb or nb tasks, I get this: [40] ✅ # [x] Aufgabe

of course it is not intentional to set metadata keys (title) before a task (but it works!). However, I find it useful, because the task is not displayed as a title in other markdown apps. So if I can "abuse" tasks in this way, it would be nice if a task could also have this structure, so that the hash does not appear in the list:

title: [ ] Task

instead of

title: # [ ] Task