for publishing

This commit is contained in:
divyanshu9821 2025-10-30 14:44:21 +05:30
parent 3191c234e3
commit 6739bd284e
3 changed files with 12 additions and 1 deletions

BIN
embed-pdf-toolbar.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

View file

@ -3,6 +3,7 @@
"name": "Lock PDF",
"author": "Divyanshu",
"version": "1.0.0",
"minVersion": "1.9.14",
"description": "Lock the pdfs from scrolling",
"main": "main.js"
}
}

View file

@ -1 +1,11 @@
# PDF Scroll Lock
This plugin is useful when there is a pdf embedded in the notes (markdown files).
`![[mypdf.pdf#page=34]]` , this lets the embed pdf to show that particular page inside the notes.
Issue - There is no way to prevent the pdf from scrolling, made the bad experience as we are reading our notes with focus and unintentionally pdf gets scrolled.
**This plugin resolves this by locking the embed pdf from scrolling by default and provide the toggle button in the toolbar for turn on and off this plugin per embedded pdf**
![embedded pdf toolbar image](embed-pdf-toolbar.png)