Insert Multiple Attachments

approved

by Michael Naumov

Allows to insert multiple attachments at a time.

7 stars6,164 downloadsUpdated 12d agoMIT

Insert Multiple Attachments

Buy Me a Coffee GitHub release GitHub downloads Coverage: 100%

This is a plugin for Obsidian that allows to insert multiple attachments at a time.

It just modifies the built-in Insert Attachment command to add support for multiple files.

Usage

You can insert multiple attachments into the active note in any of the following ways:

  1. Running the Insert Multiple Attachments: Invoke command from the command palette.
  2. Clicking the ribbon icon (the paperclip in the left sidebar).
  3. Selecting Insert multiple attachments from the editor right-click menu.

Each file you pick is saved as an attachment and embedded at the cursor.

Settings

  • Attachment links prefix / delimiter / suffix — control the text inserted before, between, and after the generated attachment links.
  • Show ribbon icon — toggle the ribbon icon on or off (on by default).
  • Show in editor context menu — toggle the editor right-click menu item on or off (on by default).

Demo vault

A demo vault with usage examples ships with every release. You can access it via any of the following:

  1. Running the Insert Multiple Attachments: Open demo vault command.
  2. Downloading insert-multiple-attachments-demo-vault-<version>.zip (<version> is the release version) from the Releases.
  3. Browsing its source in demo-vault/ in this repository.

Installation

The plugin is available in the official Community Plugins repository.

Beta versions

To install the latest beta release of this plugin (regardless if it is available in the official Community Plugins repository or not), follow these steps:

  1. Ensure you have the BRAT plugin installed and enabled.
  2. Click Install via BRAT.
  3. An Obsidian pop-up window should appear. In the window, click the Add plugin button once and wait a few seconds for the plugin to install.

Debugging

By default, debug messages for this plugin are hidden.

To show them, run the following command:

window.DEBUG.enable('insert-multiple-attachments');

For more details, refer to the documentation.

Support

Buy Me A Coffee

My other Obsidian resources

See my other Obsidian resources.

License

© Michael Naumov

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.