You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I save a file, with or without changes, Foam either removes existing markdown links for that notes wikilinks, or it generates them if they aren't there.
Exact Observed Behavior
Consider a simple markdown file with the following:
## Title[[root.AnotherNote.md]]
Now I save the file. I see
## Title[[root.AnotherNote.md]][//begin]: #"Autogenerated link references for markdown compatibility"[root.AnotherNote.md] root.AnotherNote "Another Note"
[//end]: #"Autogenerated link references"
However, if I save again, I see (notice additional newlines at bottom):
## Title[[root.AnotherNote.md]]
Additional Notes
there is a clickable message saying "Wikilink definitions (out of date)" which, when clicked, deletes the markdown links.
Foam: Run Janitor (experimental) also does the exact thing (add or remove markdown links) to all files in the directory.
I didn't expect the links to be deleted by saving or Foam: Run Janitor. I also don't expect the little description "Wikilinks out of date" to be there.
Describe the bug
Succinct Description:
When I save a file, with or without changes, Foam either removes existing markdown links for that notes wikilinks, or it generates them if they aren't there.
Exact Observed Behavior
Consider a simple markdown file with the following:
Now I save the file. I see
However, if I save again, I see (notice additional newlines at bottom):
Additional Notes
Foam: Run Janitor (experimental)
also does the exact thing (add or remove markdown links) to all files in the directory.Settings
My only explicit foam setting is:
Small Reproducible Example
No response
Steps to Reproduce the Bug or Issue
Expected behavior
I didn't expect the links to be deleted by saving or Foam: Run Janitor. I also don't expect the little description "Wikilinks out of date" to be there.
Screenshots or Videos
Operating System Version
macOS
Visual Studio Code Version
Version: 1.86.1 (Universal) Commit: 31c37ee8f63491495ac49e43b8544550
Additional context
No response
The text was updated successfully, but these errors were encountered: