Skip to content

Releases: shabegom/buttons

0.2.1

30 Mar 21:15
Compare
Choose a tag to compare

Button styling update! The default button should look a bit nicer. You can still override defaults with your own class.

Add replace and note()

28 Mar 20:32
Compare
Choose a tag to compare
  • Removed the shine hover effect because it looks crummy on mobile.
  • added a replace argument. Use along with type prepend template to replace existing content between a specified header and the button:

```button
name My Replace Button
type prepend template
action A Template.
replace ## Section Heading
```

  • added a note() template option to the type argument that will create a new note based on the specified template:

```button
name My Template Button
type note(Path/Note Name) template
action My Template
```

Check the README for requirements and more information.

Address Code Review & Add Notices

28 Mar 12:05
Compare
Choose a tag to compare

Add template functionality

28 Mar 01:48
e9b7993
Compare
Choose a tag to compare

Add the template button type

  • prepend or append content from a specified template

Add remove feature

28 Mar 00:38
Compare
Choose a tag to compare
  • added a remove argument. adding remove to the button will remove the button after it executes the command or opens the link.

Updated Styling

27 Mar 22:28
Compare
Choose a tag to compare

This release includes a breaking change from the previous release

customClass argument is now class
customId argument is now id

Adding a class argument will remove default button styling. You can add that styling back by including the class names as values to the class argument:

class button-default button-shine

This change allows you to combine different classes to create many different button style. Enjoy!

Add customId argument

27 Mar 19:51
Compare
Choose a tag to compare
  • added an argument to supply a custom css ID for styling purposes

Add customClass argument

27 Mar 19:38
Compare
Choose a tag to compare
  • added a customClass argument for custom button styling

Initial Release

27 Mar 17:52
947eee3
Compare
Choose a tag to compare
Initial Release Pre-release
Pre-release

The first release of the Obsidian Buttons plugin!