bf97887e10
Fix relative Markdown links
...
While implementing Wiki Links, I seem to have accidentally broken them.
2020-08-14 16:14:00 +02:00
71b3d841da
LinkResolve: Handle complex paths such as ../foo/../bah.md
...
Also add some more tests for other cases.
2020-08-11 13:33:50 +02:00
7e6a74dbba
WikiLinks: Always resolve from the base path
...
Fixes #212
With this [[Fire]] will always resolve the rootFolder/Fire.md
irrespective of which note it appears in. This is analogous to the way
Obsidian works.
2020-08-11 00:11:45 +02:00
3d23d2b343
LinkResolver: Resolve links with extra spaces
2020-08-11 00:07:38 +02:00
5779fd380e
LinkResolver: Add more tests
2020-08-11 00:04:42 +02:00
0c467e6b01
Move LinkResolving code to its own class
...
It has become sufficiently complex that a number of edge cases need to
be tested.
2020-08-10 23:49:09 +02:00