FileManager.getMarkdownNewFileParent method
FileManager › getMarkdownNewFileParent
Unofficial
Gets the folder that new markdown files should be saved to, based on the current settings.Signature:
getMarkdownNewFileParent(path: string): TFolderParameters:
| Parameter | Type | Description |
|---|---|---|
| path | string | The path of the current opened/focused file, used when the user wants new files to be created in the same folder as the current file. |
Returns: TFolder — The folder that new markdown files should be saved to.