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

[Suggestion]: syntax for quantity in detached modifer extensions #41

Open
youngnix opened this issue Jul 24, 2024 · 1 comment
Open

Comments

@youngnix
Copy link

Sometimes, you want to specify an amount of times something needs to be repeated.
For example, if you're not sedentary like me, you might want to track your exercise routine.
In that case, you might be tempted to specify you have to do 5 pushups.
- 5 x pushups is valid, and is alright for most cases. But considering that Norg has dedicated syntax for a date extension, I believe something similar but for quantity could be implemented.
I suggest the following syntax: - (* 5) Push-ups.
All you need to do is - (* number[unit]?)
Examples:

* Shopping
- (* 2Kg) Rice
- (* 24) Eggs
- (* 2l) Milk  
@mrossinek
Copy link
Member

I like this general idea 👍 Might need some fleshing out of details but we should keep this in mind while we are implementing all the other recently proposed changes.

Especially with the potential clash of the * character proposed here: #38 (comment)

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

No branches or pull requests

2 participants