todotxt / todo.txt

‼️ A complete primer on the whys and hows of todo.txt.
GNU General Public License v3.0
2.33k stars 102 forks source link

Multiple metadata values with the same key on the same task #16

Closed evanp closed 3 years ago

evanp commented 6 years ago

I think that this is OK, according to the current spec:

2018-03-15 Multiple metadata values with the same key on the same task label:question label:invalid

Nothing in the spec currently says that the key names need to be unique in a single task. Is that everyone else's understanding, too? I know that widely-used keys like due and t are typically unique on a line, but I could see using metadata for other data like tag or with-person.

TangentFoxy commented 4 years ago

I've made the same assumption. It makes sense for some things, while not for all.

As an example where it can make sense, say I put two copy-pasted links into a single note. I end up with two http or https tags.