-
Notifications
You must be signed in to change notification settings - Fork 662
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
While creating new notes out of missing wiki links, sluggify the file name #770
Comments
This sounds like you would like the Markdown Notes extension. It sluggifies the title like you ask. Only thing that might be an issue is it has it's own note creation template. Check it out here: https://marketplace.visualstudio.com/items?itemName=kortina.vscode-markdown-notes |
i have the same issue. the Markdown Notes extension creates the nice sluggified file, but Foam doesn't link to it. Indeed, when ctrl+clicking on the new |
We are aware that Markdown Notes works differently from Foam in this regard, we have taken that choice some time ago on purpose. I hope this provides some context and some sort of workaround |
I thought this was already resolved. I've stopped use foam for a year and I'm trying to retake it and many of my previously created links seems broken now. (Many had accents and mixed casing) |
There is no immediate plan to support this in Foam, but you can use Markdown Notes to keep compatibility with your previous wikilinks |
Scenario 1:
When I type [[Graph Visualisation]] and if this file is not present, let Foam create a file Graph-Visualisation.md instead of "Graph Visuailsation.md"
Let the [[wiki links]] have spaces.
Let the H1 title have spaces.
But the file names can have hyphens.
Accordingly update the reference links.
Scenario 2:
If I already have a file Graph-Visualisation.md, upon clicking [[Graph Visualisation]], Foam should know that it has to navigate to the Graph-Visualisation.md and keep the reference links appropreately updated.
This feature could be made configurable.
Example:
I'm picking an example from foam's readme.md
The wiki link is [[Graph Visualisation]]
The file name is graph-visualisation.md
References are to be generated like [Graph Visualisation]: docs/features/graph-visualisation.md "Graph Visualisation"
The text was updated successfully, but these errors were encountered: