Jan Sandström415 downloadsResize embedded images and PDFs by dragging corners. Automatically updates markdown with correct dimensions.
Scale and resize embedded images and PDFs in Obsidian by dragging corners. The plugin automatically updates the markdown with the correct dimensions.
Images are updated with Obsidian's native syntax:
![[image.png|width]]

PDFs are scaled using HTML comments:
![[document.pdf]]<!-- pdf-scale:0.75 -->
The HTML comment stores the scale factor (e.g., 0.75 = 75% of original size) and syncs across devices.
.obsidian/plugins/resizer/ directory|width syntaxtransform: scale() to the PDF container<!-- pdf-scale:0.75 --># Install dependencies
npm install
# Run in development mode (auto-rebuild on changes)
npm run dev
# Build for production
npm run build
|width, PDFs use HTML commentsMIT
If you encounter any issues or have feature requests, please file them on the GitHub repository.
MIT License