Skip to content

Action button configuration

Action button configuration defines the syntax and parameters used to create executable buttons within notes, primarily through the use of the buttons plugin^[200-ob-plugin-buttons.md].

Syntax

Buttons are created using code blocks labeled button. The content of the block defines the button's behavior and appearance^[200-ob-plugin-buttons.md].

name Btn

Parameters

The configuration supports several key parameters to customize the button's function and style^[200-ob-plugin-buttons.md]:

  • name: Sets the display text for the button^[200-ob-plugin-buttons.md].
  • type: Specifies the kind of action. Setting this to link allows the button to open a URL^[200-ob-plugin-buttons.md].
  • action: Defines the target URL or action to be executed^[200-ob-plugin-buttons.md].
  • color: Changes the visual color of the button (e.g., blue)^[200-ob-plugin-buttons.md].
  • templater: A boolean flag (e.g., true) that enables integration with the Templater plugin^[200-ob-plugin-buttons.md].

Sources

  • [200-ob-plugin-buttons.md]