From 5e51626b98ff0e0f2ade997f9bf54296143c7d09 Mon Sep 17 00:00:00 2001 From: Mara Date: Mon, 11 Apr 2022 14:18:23 +0200 Subject: [PATCH] fix: Fix sharing one file with filemenu --- src/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.ts b/src/main.ts index 20a62d68..7daa9317 100644 --- a/src/main.ts +++ b/src/main.ts @@ -29,7 +29,7 @@ export default class mkdocsPublication extends Plugin { .onClick(async()=>{ try { const publish = new MkdocsPublish(this.app.vault, this.app.metadataCache, this.settings); - const publishSuccess = await publish.publish(file); + const publishSuccess = await publish.publish(file, true); if (publishSuccess) { new Notice("Successfully published "+ file.basename +" to mkdocs.") }