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
Notes cannot contain certain symbols to work with certain Markdown apps (e. g. Obsidian):
These are (at least)* " \ / < > : |
Not everybody is using WikiLinks:
It should be possible to use MarkdownLinks for internal Links as well.
Proposed solution
As far as I can see it, most importantly we need to make sure that the internal link === filename.
This means we need to normalize internal Links and filenames in the same way. I think we should write a function that - given a string (the title of the note) - returns a "safe" version of that string and it is used in the file creation as well as in the internal link creation steps.
Furthermore I think it should be possible for the user to decide if internal links should be in Markdown or Wiki format.
Finally, inside internal links the link should also contain the (unescaped) title of the note as the name of the link. E. g.:
This solution would solve all the corner cases we are aware of right now and makes sure that there is only one place to add to/change if new cases come up: the normalizeTitle function.
Feedback and comments are appreciated!
The text was updated successfully, but these errors were encountered:
Hi @finn-matti !
So, if I see well, as we merged #94 , it solves this umbrella issue, and all the issues detailed in the description, #73 , #90, and #91 also, right?
This issue is thought as an umbrella issue to think about how a more robust linking mechanism could look like.
At the moment the conversion of internal links is supposed to work like this:
This is a good general approach however it has its problems:
Proposed solution
As far as I can see it, most importantly we need to make sure that the internal link === filename.
This means we need to normalize internal Links and filenames in the same way. I think we should write a function that - given a string (the title of the note) - returns a "safe" version of that string and it is used in the file creation as well as in the internal link creation steps.
Furthermore I think it should be possible for the user to decide if internal links should be in Markdown or Wiki format.
Finally, inside internal links the link should also contain the (unescaped) title of the note as the name of the link. E. g.:
Maybe the last part should be optional.
This solution would solve all the corner cases we are aware of right now and makes sure that there is only one place to add to/change if new cases come up: the normalizeTitle function.
Feedback and comments are appreciated!
The text was updated successfully, but these errors were encountered: