Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 2 commits into from
Jan 31, 2024

Conversation

Liimurr
Copy link
Contributor

@Liimurr Liimurr commented Jan 9, 2024

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

  • When using templater with zotero integration plugin, the auto generation of the zotero file will trigger the templater commands and remove them from the buttons.
  • When using Copy this does not happen.
```button
hidden true
name 📋
type copy
action some text to copy to clipboard
```

Example

image

@shabegom shabegom merged commit 44d11cf into shabegom:main Jan 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants