obsidian-link-converter icon indicating copy to clipboard operation
obsidian-link-converter copied to clipboard

Not working well converting wikilinks with # or |

Open miu007 opened this issue 2 years ago • 6 comments

For now, with wikilinks [[header # subheader]], after converting into md link, I got [](relative link#subheader) (I expect [header](relative link), the missing header is annoying)

with wikilinks [[header | alias]], after converting, I got [alias] (link) but the link is a broken one

Maybe this is more of a feature request, please consider adding it in the future update. Many Thanks.

bug

miu007 avatar Apr 01 '22 17:04 miu007

I ran into the same problem. And the plugin doesn't work with the ^ identifier either.

When I type [[FileName #^ 1f1e33 | DisplayName]] (the paragraph hashtag is just an example) to link to a paragraph, after converting it turns into [](FileName #^ 1f1e33 | DisplayName).

It is obviously the wrong result and it cannot be accessed by user because the DisplayName is empty.

Please fix it, thank you!

DaqiHu avatar Jan 13 '23 14:01 DaqiHu

@miu007 Can you help me add a bug tag to this issue and add the ^ identifier to the end of title?

For more information you can see the comment above.

DaqiHu avatar Jan 13 '23 14:01 DaqiHu

@miu007 Can you help me add a bug tag to this issue and add the ^ identifier to the end of title?

For more information you can see the comment above.

just did

miu007 avatar Jan 13 '23 18:01 miu007

Just came to document that when using pipes for image resizing it works correctly

e.g.

Screenshot 2023-01-20 at 6 54 15 PM

when I convert it to markdown link becomes

Screenshot 2023-01-20 at 6 54 10 PM

It still renders correctly (with the correct size) when viewing since the alt text now becomes 300

smaroukis avatar Jan 20 '23 09:01 smaroukis

For now, with wikilinks [[header # subheader]], after converting into md link, I got [](relative link#subheader) (I expect [header](relative link), the missing header is annoying)

with wikilinks [[header | alias]], after converting, I got [alias] (link) but the link is a broken one

Maybe this is more of a feature request, please consider adding it in the future update. Many Thanks.

bug

I have fixed it. Please see Pull Request #24 .

DaqiHu avatar Feb 26 '23 07:02 DaqiHu

Is it still under maintenance?

jerviscui avatar Oct 15 '23 16:10 jerviscui