updated wikilink reference definition to work in github UI

This commit is contained in:
Riccardo Ferretti 2020-12-25 11:31:13 +01:00
parent 9abe21993a
commit 97436ff6cb
3 changed files with 6 additions and 13 deletions

View file

@ -16,5 +16,6 @@
"**/node_modules": true
},
"vscodeMarkdownNotes.noteCompletionConvention": "noExtension",
"vscodeMarkdownNotes.slugifyMethod": "github-slugger"
"vscodeMarkdownNotes.slugifyMethod": "github-slugger",
"foam.edit.linkReferenceDefinitions": "withExtensions"
}

View file

@ -12,5 +12,5 @@
- You can always find them in your git history, if you really need it!
[//begin]: # "Autogenerated link references for markdown compatibility"
[todo]: todo "Todo"
[todo]: todo.md "Todo"
[//end]: # "Autogenerated link references"

View file

@ -27,18 +27,10 @@ We've created a few Bubbles (markdown documents) to get you started.
- [[foam-tips]] - tips to get the most out of your Foam workspace
- [[todo]] - a place to keep track of things to do
## Note on `[[wiki-links]]`
⚠️ Until [foambubble/foam#16](https://github.com/foambubble/foam/issues/16) is resolved, `[[wiki-links]]` links (like the links above) won't work in the GitHub Markdown preview (i.e. this Readme on github.com).
They should work as expected in VS Code, and in rendered GitHub Pages.
If GitHub preview (or general 100% support with all Markdown tools) is a requirement, for the time being you can use the standard `[description](page.md)` syntax.
[//begin]: # "Autogenerated link references for markdown compatibility"
[inbox]: inbox "Inbox"
[foam-tips]: foam-tips "Foam tips"
[todo]: todo "Todo"
[inbox]: inbox.md "Inbox"
[foam-tips]: foam-tips.md "Foam tips"
[todo]: todo.md "Todo"
[//end]: # "Autogenerated link references"