Vault.create method
Vault › create
Official
Create a new plaintext file inside the vault.Signature:
create(path: string, data: string, options?: DataWriteOptions | undefined): Promise<TFile>Parameters:
| Parameter | Type | Description |
|---|---|---|
| path | string | Vault absolute path for the new file, with extension. |
| data | string | The text content. |
| options? | DataWriteOptions | undefined | Write options. |
Since: 0.9.7