CalebJohn / joplin-inline-todo

Write TODOs *everywhere* and view them in one place.
MIT License
69 stars 12 forks source link

[Feature Request] Do not include TODOs that are crossed out #30

Open schlagmichdoch opened 1 month ago

schlagmichdoch commented 1 month ago

I'm not sure about this but I'd like to put this up for discussion:

I'm often crossing out Todos, that are not done but obsolete. To differentiate them from done Todos I leave them unchecked.

Current behavior

As these todos are unchecked, they are still included in the todo summary note

Expected behavior

I'd like for them to be left out if they are crossed out completely (start and end with ~~) This behavior might be toggleable via a setting.

How

Maybe via REGEX:

^~~.*~~$
schlagmichdoch commented 1 month ago

Aktually, even more awesome would be the implementation of the [x]it! syntax mention in the readme under ideas: https://github.com/CalebJohn/joplin-inline-todo?tab=readme-ov-file#ideas

This would include extending the markdown renderer though, I guess, as currently only - [ ] and - [x] is recognized as being a todo.