shabegom / buttons

Buttons in Obsidian
The Unlicense
453 stars 47 forks source link

adds hidden attribute to buttons, and copy type button #200

Closed Liimurr closed 5 months ago

Liimurr commented 5 months ago

New Optional Button Argument: "Hidden"

brief

Creates hidden buttons so that you can use inline buttons without cluttering the note with main button in arbitrary locations.

use case

zotero integration plugin which overwrites the same note every time you sync with zotero, but there is no easy way to make a separate meta file to hold custom buttons per annotation.

New Button Type: "Copy"

brief

Copies to clipboard & does not rely on templater

use case

```button
hidden true
name 📋
type copy
action some text to copy to clipboard

# Example
![image](https://github.com/shabegom/buttons/assets/14037388/3ded7db0-9d97-477a-8a3a-47f45e67a3d7)