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.") }