Is the worry RE: citations that something like @completed:: [[2021-11-04]] would be parsed by pandoc as a citation key? Or is there some other way these formats would conflict?
Re: just using ::. The worry here isn’t so much the complexity of the regular expression, but the performance. It’s definitely doable, but if we only use :: then we have to check every dataview key we see. This might not be a big deal if we limit the scope to task items, though. Also triggering a date selector on the second : would bring it up every time a dataview key is typed. We might also run into false positives here, too
I think we’re all honing in on some fundamental design issues, which is great. One way we can approach next steps is to compile a list of things that are must haves, and things that are choices to be made, and get some broader community feedback on them.
For example:
Must haves we’ve discussed thus far
- Uses dataview inline metadata format
- Uses daily note date format
- Supports time
- Supports label to assign meaning to a date
- Supports links to daily notes
- Supports not linking to daily notes
Nice to haves
- An abbreviated format when a label isn’t necessary
Design decisions to be made
- Special prefix character or no
Other considerations
- Parsing ease
- Parsing speed
- Minimal collisions with other plugins / data formats
- Minimal false positives
- Ease of offering autocompletion
Am I missing anything, or have I misrepresented anything here?