-
Notifications
You must be signed in to change notification settings - Fork 105
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
key-value pairs starting with numerics #77
Comments
Related but possibly more of an extension #64 |
Another possibility is that double colon will escape a colon. This is currently simply invalid syntax since a key or a value can't contain a colon. |
There appears to be a universal rule (but no spec that I can find) that says #hashtags can't start with a numeral, as they often mean a list item (as indeed they do in GH). |
Also, borrowing from other key:value systems, all examples of YAML at yaml.org use a space character after the separator colon. I can't find this in the spec, but its common usage. |
Came up in #69 from @xsrvmy
Can/should keys be allowed to start with a number, i.e. 0-9? Current spec https://github.com/todotxt/todo.txt#additional-file-format-definitions implies this is currently allowed:
@rachmadaniHaryono recommends against using numbers which I concur with. However I'd go as far as saying the spec needs clarification here as this conflicts with how most people write times down, e.g. 11:00am doesn't seem to me to be a useful key of "11" and value of "00am".
The text was updated successfully, but these errors were encountered: