mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-18 09:35:20 +02:00
6 lines
248 B
JavaScript
6 lines
248 B
JavaScript
joplin.plugins.register({
|
|
onStart: async function() {
|
|
const folder = await joplin.data.post(['folders'], null, { title: "my plugin folder" });
|
|
await joplin.data.post(['notes'], null, { parent_id: folder.id, title: "testing plugin!" });
|
|
},
|
|
}); |