Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: Relative links broken after conversion with markdown links #37

Closed
2 tasks done
Valkann opened this issue Oct 20, 2022 · 3 comments
Closed
2 tasks done

[BUG]: Relative links broken after conversion with markdown links #37

Valkann opened this issue Oct 20, 2022 · 3 comments
Assignees

Comments

@Valkann
Copy link

Valkann commented Oct 20, 2022

Issue validation

Workflow

Obsidian plugin 💠

Is your feature related to a problem ?

Hello,

Thanks a lot for this plugin which is a great discovery for me !


When I share my files in Github the relative links start from the category/folder of the current page.
I put a YAML folder on my pages

page week-2

page-source

the hierarchy is well created in GitHub

racine

source

But the relative link starts from the current page

page week

And we lose the file extension ".md".

What solution do you want to see ?

Would it be possible to make the relative link take into account the Yaml categories?

Describe the alternative you've considered

If it is not possible, could the link create the hierarchy after the page?

Example here:

---> Week
------> 2022-42.md
------> source
---------> Système-monde...

OS

Windows

Anything else?

Thanks again for this great plugin, it's really amazing!

@Valkann Valkann added the ✨ Enhancement New feature or request label Oct 20, 2022
@Valkann Valkann changed the title [FR]: gestion des liens relatifs en Yaml [FR]: management of relative links in Yaml Oct 20, 2022
@Mara-Li
Copy link
Member

Mara-Li commented Oct 20, 2022

Hello.
I don't see any error here ? I created the relative links based on github repository. Any change will break the links.
Also, is the links works without the .md ?

EDIT : I see the error. The relative links need to up more. Can i get the file to check the relative created links ?

@Mara-Li Mara-Li changed the title [FR]: management of relative links in Yaml [BUG]: Relative links broken after conversion with markdown links Oct 20, 2022
@Mara-Li Mara-Li added bug and removed ✨ Enhancement New feature or request labels Oct 20, 2022
@Mara-Li Mara-Li self-assigned this Oct 20, 2022
@Valkann
Copy link
Author

Valkann commented Oct 20, 2022

Hello, Yes, here are the files.

It's Obsidian's files with dataview table. But I try with regular Table and I have the same issue :)

Le système-monde 2 sur 2 - La scénarisation et les mécaniques.md

2022-42.md

For your question, the link doesn't work whithout .md

I changed the visibility of my repo if you want to test : https://github.com/Valkann/Obsidian

@Valkann
Copy link
Author

Valkann commented Oct 21, 2022

Thank you :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants