You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AFAIK the file link syntax for norg file and arbitrary filepath do not restrict the path delimiter. So {:foo\bar:}, {/ .\foo\bar.txt} are valid. Even worse, {:$\file:} is also valid?
Shall we straight up ban backslashes in these links and only allow forward slashes just like the uri spec?
The ambiguity we have now is problematic when doing grep to search for backlinks etc.
As this is a pretty easy thing to flip thanks to Pathlib, maybe we should start by always returning forward slash for completion (core.integrations.nvim-cmp). path:tostring("/") <- you can specify the delimiter with the second argument to tostring.
This might be a bit off topic but I’d like to see .image $/img/path/rel/to/workspace.png and extend this trend to other macros as well (like tangle?).
Help
Yes
Implementation help
No response
The text was updated successfully, but these errors were encountered:
Issues
Feature description
Assigned to me (@pysan3).
Original discussion at Discord - #norg-specification.
Help
Yes
Implementation help
No response
The text was updated successfully, but these errors were encountered: