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

Broken Wiki-links #217

Closed
dakenblack opened this issue Aug 9, 2020 · 3 comments
Closed

Broken Wiki-links #217

dakenblack opened this issue Aug 9, 2020 · 3 comments

Comments

@dakenblack
Copy link

Hi,

I've got an issue with the wiki-links feature. See screenshot, I've linked to 2 files within the same directory but vscode isn't generating the reference list at the bottom of the page when I save. It works for some pages (a minority) but not all. Unfortunately I can't identify any pattern to these failures, i.e. I don't know what's different about the pages that work from the ones that don't.

Oddly enough the "show graph" feature of markdown links seems to recognize the links.

Works

Doesn't work

You can also see the extensions I have enabled in the screenshot, I'm running this on a windows computer let me know if you need any other information.

Thanks for this great project!

@zbw8388
Copy link
Contributor

zbw8388 commented Aug 9, 2020

It seems like there's an issue with capitalized file name. Try rename your notes to "aws.md" and "tensorflow.md" and save again.

"show graph" is actually provided by another extension, so there's inconsistency between two extensions.

@dakenblack
Copy link
Author

Righto,
That worked! I should've picked that up thanks.

So there is an issue with filenames with capital letters.

@jevakallio
Copy link
Collaborator

@dakenblack @zbw8388 correct, this is documented in https://foambubble.github.io/foam/link-formatting-and-autocompletion

We are going to fix this, but for stupid reasons it's a bit hard to fix for one segment of users who prefer their links to match file cases literally, without breaking it for others who expect the links to be slugified to lower-dash-case format, which is what Foam's initial version shipped with.

It will eventually be fixed by when we implement foambubble/rfcs#3

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

3 participants