github zsviczian/obsidian-excalidraw-plugin 2.13.0
Excalidraw 2.13.0

latest releases: 2.15.2, 2.15.2-beta-1, 2.15.1...
2 months ago

Thumbnail - 20250629 Auto-Export to Assets (Phone)

New

  • Flexible Auto-Export Location: Take control of where your auto-exported .png, .svg, and .excalidraw files are saved. Addressing a long-standing request, you can now define custom output paths using the new Excalidraw Hooks. #1830

    • Implement the onImageExportPathHook callback in your ExcalidrawAutomate startup script to control the destination path.
      • Get the skeleton script via plugin settings or download it here.
  • Control Auto-Export Trigger: Use the onTriggerAutoexportHook in your startup script to decide if and how auto-export runs for a file, based on its properties or frontmatter, before the export path is determined.

  • Improved "Open Excalidraw drawing": The Command Palette command now searches the entire Vault for the matching Excalidraw file when used on an embedded .svg or .png, useful when exports are in different folders.

  • Placeholder Files for New Embeds: When embedding a new drawing as PNG/SVG via the Command Palette, empty placeholder files are now created immediately based on your auto-export setting. This ensures Obsidian correctly updates links if you rename the file soon after creation (when "Keep filenames in sync" is on).

  • Paste Obsidian URLs into Excalidraw: Pasting an Obsidian URL for an image or file into Excalidraw now inserts the associated image directly into the drawing.

  • onImageFilePathHook Drag & Drop Support: The onImageFilePathHook (for controlling location/filename of embedded files) is now triggered when dragging and dropping files into Excalidraw from outside Obsidian, matching the existing behavior for pasting.

New in ExcalidrawAutomate

splitFolderAndFilename(filepath: string) : {
    folderpath: string;
    filename: string;
    basename: string;
    extension: string;
  }

Don't miss a new obsidian-excalidraw-plugin release

NewReleases is sending notifications on new releases.