Open bfcs opened 1 year ago
Here is my implement
await joplin.commands.register({
name: 'insertAdmonition',
label: 'Insert Admonition',
iconName: 'fas fa-feather',
execute: async () => {
await joplin.commands.execute("insertText", "!!! note\n\n!!!");
},
});
await joplin.views.toolbarButtons.create('insertAdmonition', 'insertAdmonition', ToolbarButtonLocation.EditorToolbar);
Hi, @maxnegro Thanks for you great work, could you please add a button to the top of note in order to insert this quickly?