Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Group descriptions below titles #45

Closed
jotaen opened this issue Aug 24, 2022 · 3 comments
Closed

Group descriptions below titles #45

jotaen opened this issue Aug 24, 2022 · 3 comments

Comments

@jotaen
Copy link
Owner

jotaen commented Aug 24, 2022

As discussed here, an item group could have an additional, optional description underneath the headline, like so:

MONDAY
Today, I need to really need to take care
of the remaining tasks from last week!
[ ] File tax report
[ ] Wash up dishes
[ ] Watch new Netflix show

It would basically work like this:

  • First line is the headline (as it is right now)
  • Subsequent lines are interpreted to be group description
  • First item ends the group description

Things that need to be decided and specified:

  • Can the group description contain tags?
    • If so, they would have to implicitly apply to all items in that group.
  • Does there have to be any restriction regarding the text itself? E.g.:
    • Like in titles, a line cannot start with [, to avoid ambiguity or confusion with items
    • Can lines start with whitespace, i.e. can they be “indented”? Could this cause problems?
    • Obviously, lines cannot be blank, because that would start a new group
  • Like for descriptions, I wouldn’t want to introduce special syntax for text formatting or links.
@clach04
Copy link

clach04 commented Sep 12, 2022

One (not backwards compat) option would be to use Markdown headings for titles, i.e. ## . This would conflict with #46 though. The existing format is a superset of GFM tasklists already https://github.blog/2014-04-28-task-lists-in-all-markdown-documents/

Can the group description contain tags? If so, would they apply to all items in the group?

If yes to initial question, I would assume yes for the second.

@jotaen
Copy link
Owner Author

jotaen commented Sep 13, 2022

One (not backwards compat) option would be to use Markdown headings for titles, i.e. ## .

I’ve also thought about this, but I’m wondering whether there would be a benefit in making a # prefix mandatory for group titles. If one likes, the following is already possible:

# Todos
[ ] Item 1

=== Todos ===
[ ] Item 2

Another potential ambiguity might be that the # prefix could be confused with the syntax for tags. (Not super likely, though, probably.)

If yes to initial question, I would assume yes for the second.

Yeah, I agree. It wouldn’t make sense if the group description could contain tags without them having any effect on the group’s items. I’ve rephrased the point above.

@jotaen
Copy link
Owner Author

jotaen commented Nov 29, 2023

I’m putting this on hold for now, see #55 (comment).

@jotaen jotaen closed this as completed Nov 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants