allow - TODO
This commit is contained in:
parent
cd3d7466e3
commit
e1f979f146
23
README.md
23
README.md
@ -2,12 +2,19 @@
|
|||||||
|
|
||||||
A suite of tools for dealing with a directory of markdown files.
|
A suite of tools for dealing with a directory of markdown files.
|
||||||
|
|
||||||
IDEA: just markdown? todo logic might be useful outside that?
|
## Tasks
|
||||||
|
|
||||||
TODO: decide on a more permanent name, maddog/md/mddir
|
- TODO: more flags
|
||||||
|
- [ ] filters
|
||||||
TODO: this is an example of a todo due in the past {by:2024-07-01}
|
- [ ] sorting
|
||||||
|
- TODO: add config file
|
||||||
TODO: this is an example of a todo with other tags {tag:example}
|
- [ ] make file types configurable
|
||||||
|
- [ ] look in local dir, then XDG_HOME
|
||||||
DONE: two tags fields and status is done {tag:example} {by:2024-01-01}
|
- TODO: support checkboxes
|
||||||
|
- [ ] scan lists
|
||||||
|
- [ ] percent complete
|
||||||
|
- TODO: decide on more permanent name
|
||||||
|
- IDEA: recurring?
|
||||||
|
- IDEA: track changes
|
||||||
|
- DONE: add color {by: 2024-07-26}
|
||||||
|
- DONE: support multi-tags {like:this} {by: 2024-07-26}
|
||||||
|
@ -10,9 +10,11 @@ console = Console()
|
|||||||
now = datetime.datetime.now()
|
now = datetime.datetime.now()
|
||||||
|
|
||||||
ALL_TODO_RE = re.compile(
|
ALL_TODO_RE = re.compile(
|
||||||
r"""^(TODO|IDEA|DONE):? # label starts a line
|
r"""^
|
||||||
\s*([^\{\n]+) # body ends at { or newline
|
(?:\s*[-*]\s*)?
|
||||||
(?:\s*(\{.*\}))? # repeated variations of {...} tags
|
(TODO|IDEA|DONE):? # label starts a line
|
||||||
|
\s*([^\{\n]+) # body ends at { or newline
|
||||||
|
(?:\s*(\{.*\}))? # repeated variations of {...} tags
|
||||||
""",
|
""",
|
||||||
re.MULTILINE | re.VERBOSE,
|
re.MULTILINE | re.VERBOSE,
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user