-
Notifications
You must be signed in to change notification settings - Fork 66
Markdown: make links with spaces handling as per these standards #386
Description
Description
I find the way wiki.vim handles spaces in links confusing as it is clearly diverge from the standards: https://spec.commonmark.org/0.31.2/#links , https://github.github.com/gfm/#links, other. I mean that these are implemented by other apps:
- vim.markdown, https://github.com/preservim/vim-markdown/blob/master/doc/vim-markdown.txt#L236
- https://github.com/simov/markdown-viewer
- https://github.com/gsantner/markor
- others
Why not implement in wiki.vim?
Current behavior. A link [How to calculate contra amount](<How to calculate contra amount.md>) opens into <How to calculate contra amount.md>.md file.
Expected behavior. A link [How to calculate contra amount](<How to calculate contra amount.md>) opens into How to calculate contra amount.md.
Similarly for all other functionality: graph, tags, etc.
I guess, this should break current behavior that treats spaces inside link as a valid, i.e. [My link here](my page with spaces.md), but without < and > as an invalid link. I don't know exactly why those standards include this requirement.
Minimal working example
See above