View multiple PDFs side-by-side directly inside Logseq.
- Side-by-side PDFs — open any number of PDFs (up to a configurable limit) next to each other
- Two layouts — horizontal scroll or a dynamic grid (Übersicht)
- Click to open — left-clicking any PDF link in Logseq opens it in this viewer instead of Logseq's built-in PDF viewer; clicks add to the panel rather than replacing the current PDF
- Open from blocks — point at a block containing a PDF link and open it with one command
- Resizable panel — drag the left edge to change the viewer width; the size is remembered
- Theme-aware — picks up Logseq's current light/dark theme (and custom themes) automatically
- Page navigation — previous / next page per PDF
In Logseq: open the Marketplace (··· menu → Plugins → Marketplace tab) and search for Multi PDF Viewer. Click Install.
- Download the latest release ZIP from the Releases page.
- Extract it somewhere on your disk.
- In Logseq:
Settings → Plugins → Load unpacked pluginand select the extracted folder.
- Click any PDF link — left-clicking a
[label](../assets/file.pdf)link in Logseq opens it directly in this viewer. Each click adds another PDF; existing ones stay open. (Ctrl/Cmd/Shift/Alt+ click, middle-click and externalhttp(s)://PDFs are left to Logseq's default behavior.) - Toolbar button — click the 📄 icon in the Logseq toolbar to open the viewer.
- Command palette:
PDF Viewer öffnen— opens the empty viewer panel.PDF aus Block im Viewer öffnen— reads the currently selected block, finds a Markdown PDF link like[label](../assets/file.pdf)and opens it in the viewer.
- Inside the viewer:
+ PDF— same as the block command above.▦ Nebeneinander/▤ Übersicht— switch between layouts.- Drag the left edge of the panel to resize.
- Maximale Anzahl PDFs (
maxViewer, default:4) — how many PDFs can be open at once. When the limit is reached, the oldest PDF rotates out.
npm install # install dependencies
npm run dev # start Vite dev server (port 3000)
npm run build # build for production (output: dist/)After each build, reload the plugin in Logseq (Plugins → reload).
- React 18 + Vite
- PDF.js (legacy build — required for Logseq's Electron runtime)
- Logseq Plugin API
MIT © lenn07
