Look at a file
Click a file in the tree and the middle column shows it. Each kind of file gets a view of its own; the header above it names the file and offers what that view can do.
What you need
Section titled “What you need”An open folder. The preview shows files from that folder only.
Back and forward
Section titled “Back and forward”Since 1.18 The preview remembers the files it showed, like a browser. ‹ and › in front of the file name go back to the file before and forward again; the tree selects the file along with it.
- Every way counts that brings a file into the preview: a click in the tree, Filter Files…, a link in a Markdown document, a link in a chat answer, Show changes.
- Shortcuts:
Cmd+[andCmd+]on macOS,Alt+←andAlt+→on Windows and Linux — also in View › Back and View › Forward. The side buttons of a mouse work over the tree and the middle column. - The whole list: right-click
‹or›— or pressShift+F10on it — for every file on that side; pick one to jump straight there. - Where you were: going back lands where you left the file — the same scroll position, and in a Markdown file the same side of Preview | Source.
- A new step cuts off what lay ahead. Go back twice and open another file, and the files you went back from are no longer ahead of you.
- The list belongs to the open folder. Switching folders or restarting Snotra starts it empty.
Markdown
Section titled “Markdown”A .md file opens formatted: headings, lists, tables, code. Preview | Source in the header — or Cmd+Shift+M / Ctrl+Shift+M, or View › Preview or Source — switches to the plain text and back. The front matter of a SKILL.md shows as a compact block above the text.
- Images from the open folder are shown. Images from the web are never loaded: a placeholder, Image from the web, not loaded, says where they point.
- A link to another file of the folder opens that file and selects it in the tree.
‹takes you back to where you followed it. - Since 1.19 Zoom with
−and+in the header, or withCmd/Ctrland+,−,0while the preview has the focus. The whole document grows — text, images and tables — and every Markdown file opens at the size you chose last, after a restart too. The source is not zoomed. - Since 1.33 Edit in the header makes the document editable where it is: type, and format with the toolbar below the header — see Edit Markdown in the preview.
- Since 1.32 Select a passage and click Comment to comment on it. The comment goes into the file; a passage that carries one shows a light wash and a speech bubble.
Code and text
Section titled “Code and text”Source code and configuration files open with colours — JavaScript and TypeScript, JSON, YAML, Python, shell scripts, HTML and CSS and many more, chosen by the file name. The colours follow the light and dark theme. What you select and copy is the file exactly as it is.
Plain text and logs stay plain. A file larger than 512 KB is shown without colours, so that it opens at once.
Since 1.24 Edit in the header turns the text into an editor that saves by itself — see Edit a text file.
Images
Section titled “Images”PNG, JPEG, GIF, WebP and SVG open as images, fitted to the column.
- Zoom with
−,+and Fit in the header, or withCmd/Ctrland+,−,0. - An image larger than the column is moved by dragging it, or with the arrow keys.
- The header gives the size in pixels; a checkerboard behind the image shows where it is transparent.
- An SVG has Preview | Source, like a Markdown file.
A PDF opens page after page, fitted to the column width. The header shows the page you are on — type a number to jump there — and zooms with −, + and Width. A password-protected PDF asks for its password right there; it is not stored. Scripts inside a PDF never run, and its links do nothing.
Since 1.28.1 Comments. Highlights and notes that someone left in a PDF carry their comment along: click the marking — or reach it with Tab and press Enter — and the comment opens next to it, with its author, its date and any replies underneath. Esc or × closes it. Comments are shown as plain text, without their formatting.
Add a comment
Section titled “Add a comment”Since 1.32 You can comment on a PDF yourself: select a passage, write a note, and it is saved in the file.
What you need: a PDF with real text in it. A scan has only a picture of the text, and a picture cannot be selected.
Steps
- Select the passage with the mouse, as in any document.
- Click Comment next to the selection — or press
Cmd+Alt+M(Ctrl+Alt+Mon Windows and Linux). - Write your comment and click Save, or press
Cmd+Enter(Ctrl+Enter).Escor Cancel drops it.
What happens: the passage is highlighted in yellow and the comment is written into the PDF itself, signed with the time and the name under Settings › General, Name for comments — or, while that is empty, the full name of your user account. Snotra appends it to the end of the file and changes nothing that was there before. Acrobat, macOS Preview and other PDF readers show it like a comment made there, and Snotra shows it right away, as described above.
A selection that runs over several pages is commented on the page where it starts.
If it doesn’t work
- This PDF is signed. Snotra adds no comments to a signed PDF, so that nothing can put the signature in doubt.
- This PDF is protected. A PDF with a password or other protection takes no comments here.
- The file was changed elsewhere and has been reloaded. Someone — another app, or a sync — saved the PDF while you were writing. Your comment stays in the box: check that the yellow passage is still the right one, then save again.
- No text can be selected. The page is a scan, or its text was turned into shapes. There is nothing to attach the comment to.
Reply to a comment
Section titled “Reply to a comment”Since 1.32.1 A comment can be answered right where it is, so that question and answer stay together.
What you need: a PDF that is neither signed nor protected, as for adding a comment.
Steps
- Click the marking to open its comment.
- Click Reply at the bottom left of the comment.
- Write your reply and click Reply, or press
Cmd+Enter(Ctrl+Enter).Escor Cancel drops it.
What happens: the reply is written into the PDF as a reply to that comment, signed with the time and the name under Settings › General, Name for comments — or, while that is empty, the full name of your user account. Snotra appends it to the end of the file and changes nothing that was there before. The comment opens again with the reply under it. It is a standard PDF reply: readers that show comment threads list it under the comment, and macOS Preview, which shows none, lists it as a note of its own.
A single reply cannot be deleted on its own: Delete comment removes the comment together with all its replies.
If it doesn’t work
- There is no Reply. The PDF is signed or protected, and Snotra leaves it as it is.
- The file was changed elsewhere and has been reloaded. Your reply is still here … Someone saved the PDF while you were writing. The comment opens again with your text in the box: check the comment, then send it again.
- The reply could not be saved. The file is unchanged. The file could not be written — for example because it is read-only. Your text stays in the box.
Delete a comment
Section titled “Delete a comment”Since 1.32.1 A comment in the wrong place, or one that turned out to be wrong, can be taken out of the PDF again — yours or anyone else’s.
What you need: a PDF that is neither signed nor protected, as for adding a comment.
Steps
- Click the marking to open its comment.
- Click Delete comment at the bottom right of the comment.
- Snotra asks in the same place, and says how many replies go with it. Click Delete. Cancel or
Esckeeps the comment.
What happens: the marking disappears together with its comment and all replies to it. Like a new comment, the change is appended to the end of the file; nothing that was there before is rewritten. Other PDF readers no longer show the comment either.
If it doesn’t work
- There is no Delete comment. The PDF is signed or protected, and Snotra leaves it as it is.
- The file was changed elsewhere and has been reloaded. Nothing was deleted. Someone saved the PDF in the meantime. The comment opens again with this note: check that it is still the one you meant, and delete it again.
- The comment could not be deleted. The file is unchanged. The file could not be written — for example because it is read-only. The comment stays, and you can try again.
HTML pages
Section titled “HTML pages”An .html file opens as the page it is. Scripts run, so an interactive mockup or a report works as in a browser. Preview | Source switches to the text.
- It stays offline. The page loads only files from the open folder — a stylesheet or a script next to it works. Anything from the web or from outside the folder is blocked, and a notice above the page says how much; Show lists it.
- Links need a click. A link to another HTML file of the folder opens it in the preview, a web link opens in your browser — only when you click it, never by itself.
- It keeps up. The page reloads when it or one of its files changes. Reload and Open in browser are in the header.
- Keyboard:
Tabmoves into the page,F6back out of it.
A link to an HTML file in a chat answer opens it here as well.
If it doesn’t work
Section titled “If it doesn’t work”- Too large to preview. The preview shows images up to 10 MB, PDFs up to 50 MB and HTML files up to 1 MB. Open in browser still works for an HTML file; any file opens in its own app from the tree’s context menu.
- The file points out of the open folder through a link, so it is not shown. The preview shows nothing from outside the folder.
- Not a readable image or Not a PDF. The content does not match the file name. The view checks what is inside, not the extension.
- A highlight in a PDF opens nothing. It carries no comment — the marking alone was saved — or the comment sits in a text box, which shows its text on the page anyway.
- The page is not responding. A script in the page keeps it busy. Snotra stays usable; Reload starts the page again.
‹skips a file, or the list shows it greyed out. The file was deleted, or moved outside Snotra, since you looked at it. A file you rename or move in the tree stays in the list under its new name.Cmd/Ctrland+makes the whole window larger, not the document. The keys zoom the document only while the preview has the focus — click into the text first. View › Actual Size puts the window back.













