PDF viewer
A Markdown editor with a PDF viewer lets you keep a paper, a slide handout or a scanned form in the same folder as your notes and read it without switching apps. The useful versions also let you mark the page, so a highlight on page 4 and the note you write about it live side by side. The question to ask is where those marks are saved: inside the PDF, or in a separate file.
A notes folder that mixes the two looks like this:
Reading/
smith-2024-field-study.pdf
smith-2024-field-study.md
lecture-07-slides.pdf
lecture-07.md
Why keep PDFs in the same folder as Markdown notes?
Because the note is about the PDF. When the source and your notes sit next to each other, a backup, a sync service or a copy to a new computer moves both at once, and a link such as [the paper](smith-2024-field-study.pdf) keeps working. It also means one search of the folder finds the note that mentions a paper, even when the paper is a scan.
Should annotations change the PDF file?
There are two approaches, and each has a cost.
| Marks written into the PDF | Marks kept in a separate file | |
|---|---|---|
| Visible in other PDF apps | Yes | No |
| Original file stays byte for byte the same | No | Yes |
| Safe for signed or shared originals | Not always | Yes |
| Travels with the folder | Yes | Yes, if the sidecar file is in the folder |
If you need to send an annotated copy to someone else, a PDF app that writes marks into the file, such as Preview on a Mac or a full PDF editor, is the right tool. A separate file suits reading notes you keep for yourself.
PDFs in Noteline
The Noteline desktop app opens PDFs in a built-in viewer. The iPhone, iPad and Android apps do not list or open PDFs.
Opening a PDF
- Put the PDF in your notes folder, or in a folder inside it.
- It appears in the sidebar next to your .md and .txt files.
- Click it. It opens in a tab and fills the window.
On a Mac, Noteline also appears in Open With for PDF files in Finder. Preview stays the default PDF app.
Reading
- The viewer opens full screen, and the toolbar fades after a few seconds. Move the mouse or click the page to bring it back.
- Use the zoom buttons, or press
+and-to zoom from 40% to 400%. Press 0 to reset. - Switch between fitting the page width and fitting the whole page.
- A page counter such as 3 / 12 shows where you are in a long file.
- Press Esc, or use the full screen button, to show your tabs again.
Marking the page
Click the pencil button (Annotate with pencil) to show the drawing tools: Pen, Highlighter and Eraser, four colors, and Undo. The eraser removes a whole stroke at a time. Draw with the mouse or trackpad.
Marks are saved after every stroke, in a hidden .noteline folder inside your notes folder. The PDF itself is never rewritten, so other apps show it without your marks.
Common questions
Can I select or search the text of a PDF?
No. The viewer draws each page as an image, so text cannot be selected, copied or searched. Copy text from another PDF app, or convert the PDF to Markdown if you need it in a note.
Do my marks follow the PDF to another computer?
Yes, if the .noteline folder goes with it. Syncing or copying the whole notes folder keeps the marks. Copying only the .pdf file leaves them behind.
Do marks stay in place when I zoom?
Yes. Strokes are stored relative to the page, so they stay on the same words at any zoom level, window size or screen.