Jie Tang36 downloadsResize and move PDF++ rectangular selections, updating Markdown links and Excalidraw crops.
Resize and move PDF++ rectangular selections with the mouse, updating Markdown links and Excalidraw crops.
An independent companion plugin for PDF++, maintained by Tang-Jay. This is not an official PDF++ release.
Adjust the region you already added to your note. No need to draw a new selection and insert it again. The original note reference is updated when you release the mouse.
Right-click inside an existing region or near its border, then choose 编辑选区 (Edit region).

Drag a corner or edge handle to resize the region. Drag inside the box to move it.

Release the mouse to save the new region and return to viewing mode. The existing note reference is updated automatically, so you can keep reading without recreating the selection or adding it to your note again.

The plugin changes links and drawing data. It does not modify the original PDF file.
Version 0.4.3 was tested in macOS 15.7.9 with Obsidian 1.15.0, PDF++ 0.40.31 and Excalidraw 2.29.1. Its minimum Obsidian version is conservatively set to 1.15.0, the version actually tested. Windows, Linux, mobile and older Obsidian versions have not been tested. Excalidraw has its own Obsidian version requirements.
The PDF viewer integration uses internal Obsidian interfaces, PDF++ settings and a context-menu hook. The drawing integration uses Excalidraw interfaces. Changes in these applications may require a plugin update.
Install and enable PDF++ first. Enable Excalidraw if you need drawing support.
Open the community listing and choose Add to Obsidian, or search for PDF++ Region Editor under Settings → Community plugins → Browse. If the entry is not yet available in your client, use manual installation below.
main.js, manifest.json and styles.css from a published GitHub release.<vault>/.obsidian/plugins/pdf-rect-editor/ and place the three files directly inside it.You can also build from source using the instructions below and copy the same three files.
In a Markdown note's source or live-preview editor, place the cursor inside an existing region link, for example:
![[paper.pdf#page=1&rect=100,200,300,400&color=yellow|Figure 1]]
Run PDF++ Region Editor: 编辑光标所在的 PDF 选区, click the ribbon's 调整 PDF 选区 icon, or use the editor context-menu action.
Drag inside the region to move it, or drag a handle to resize it. 旋转 90° rotates the preview.
Select 保存选区 to update that link. Press Esc or 取消 to cancel. Use the note editor's normal undo action to undo a saved edit.
rect links in a note or supported drawing.In-place editing is enabled by default and can be disabled through PDF 页面内直接编辑 in plugin settings.
The image must have native PDF crop metadata and a valid PDF rect link. Rotated drawing elements and frames shared with other elements are rejected. If multiple images use the same region, select the intended image in its source drawing before editing from the PDF viewer.
page and exactly one valid rect=x1,y1,x2,y2 parameter.annotation, because changing only their rectangle would leave the annotation inconsistent.This plugin's own code makes no network requests, collects no telemetry and accesses no files outside the vault. It reads vault PDFs and notes, updates selected note links or drawing data, and stores its in-place-editing preference in the plugin's data.json. PDF++, Excalidraw and Obsidian have their own behavior and settings.
Use a recent Node.js version with the built-in test runner, such as Node.js 22 or newer. No npm packages need to be installed for the current build or tests; obsidian is provided by the host application at runtime.
npm test
npm run build
node --check main.js
Edit files in src/; main.js is generated by build.cjs. The release assets are main.js, manifest.json and styles.css.
For a release, keep manifest.json and package.json versions aligned, update versions.json when the minimum Obsidian version changes, and use a GitHub release tag exactly matching the manifest version (for example 0.4.3, without a v prefix). Attach the three release assets individually.
MIT. Copyright (c) 2026 Tang-Jay. See LICENSE.
PDF++ and Excalidraw are separate installed plugins; their source and binaries are not included in this repository. Their respective licenses continue to apply to those projects.