FileManager.createAndOpenMarkdownFile method
FileManager › createAndOpenMarkdownFile
Unofficial
Creates a new Markdown file in specified location and opens it in a new view.Signature:
createAndOpenMarkdownFile(path: string, location: PaneType): Promise<void>Parameters:
| Parameter | Type | Description |
|---|---|---|
| path | string | Path to the file to create (missing folders will be created). |
| location | PaneType | Where to open the view containing the new file. |
Returns: Promise<void> — A promise that resolves when the file is created and opened.