mirror of
https://github.com/rifts-obsidian-laboratory/anki-integration.git
synced 2026-07-22 05:42:50 +00:00
Features - Adding "Synchronize data with Anki" command to Obsidian
This commit is contained in:
parent
d5a6661d0f
commit
d632fe4263
1 changed files with 8 additions and 0 deletions
|
|
@ -35,6 +35,14 @@ export default class AnkiIntegration extends Plugin {
|
|||
new CreateDeckModal(this.app).open();
|
||||
}
|
||||
});
|
||||
// Adding a command to launch SynchronizeData().
|
||||
this.addCommand({
|
||||
id: 'synchronize-data',
|
||||
name: 'Synchronize data with Anki',
|
||||
callback: () => {
|
||||
SynchronizeData(this);
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
async onunload() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue