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
The sourcePath:string parameter appears in several places in the API, but is sometimes not explained at all. Even when it is explained, the explanation varies from place to place and was not always easy to understand when I started writing plugins. Also, I have seen some plugins using sourcePath incorrectly.
So far, the clearest explanation that I could find is the one given in FileManager.generateMarkdownLink:
The
sourcePath:string
parameter appears in several places in the API, but is sometimes not explained at all. Even when it is explained, the explanation varies from place to place and was not always easy to understand when I started writing plugins. Also, I have seen some plugins usingsourcePath
incorrectly.So far, the clearest explanation that I could find is the one given in
FileManager.generateMarkdownLink
:https://docs.obsidian.md/Reference/TypeScript+API/FileManager/generateMarkdownLink
Hopefully this explanation will be adopted everywhere. Thank you!
The text was updated successfully, but these errors were encountered: