Skip to content

QuickAdd and Templater integration

QuickAdd is an Obsidian plugin that allows users to create macros, capture inputs, and generate files dynamically. It relies heavily on the functionality of the [[Templater]] plugin to execute script-based templates for creating new files.^[200-學習OB__plugin__quick-add.md]

Functionality and Limitations

QuickAdd functions by wrapping around Templater's capabilities to streamline the creation of notes and the management of workflows.^[200-學習OB__plugin__quick-add.md] However, because QuickAdd handles the file creation process, it disables the default "Create new file" template setting within Templater to prevent conflicts, although the "Insert content" feature remains usable.^[200-學習OB__plugin__quick-add.md]

QuickAdd Choice Types

To integrate with Templater, QuickAdd offers several "Choice" types that define how the plugin interacts with the user's vault:^[200-學習OB__plugin__quick-add.md]

  • Template: This type is used to directly utilize the [[Templates]] plugin (specifically Templater) to generate a new file instantly.^[200-學習OB__plugin__quick-add.md]
  • Capture: Used to quickly capture thoughts, Fleeting notes, or intermittent diaries and append them to an existing specific file.^[200-學習OB__plugin__quick-add.md]
  • Macro: Allows for advanced functionality by using custom JavaScript code to handle complex logic or user interactions.^[200-學習OB__plugin__quick-add.md]
  • Multi: Creates a nested menu of other QuickAdd commands, allowing for organized hierarchical access to various templates or macros.^[200-學習OB__plugin__quick-add.md]

Sources

^[200-學習OB__plugin__quick-add.md]