Repository
- GitHub
- dashpes/printroom
- Languages
- Rust 36%
- JavaScript 25%
- CSS 13%
- Python 10%
- Other 15%
- Read on
README
From GitHub
Printroom is a desktop app that shows a Markdown file as a report. The core is Rust. The window is a Tauri webview.

Functions
- The app shows headings, tables, task lists, footnotes, and code blocks with report typography.
- The sidebar shows an outline of the headings and the Markdown files in the same directory.
- The view updates when the file changes on the disk. The position in the document stays the same.
- A link to a different Markdown file opens that file in the window.
- The export button saves the document as a PDF or as a Word file. The Word file keeps the fonts, the colors, the alert boxes, and the task boxes of the app.
- The Aa button sets the text size, the font, and the light or dark appearance.
- Each command is also in the menu bar with a keyboard shortcut.
The Word export uses pandoc, version 3.6 or later. Install it with brew install pandoc.
Edit mode
Select Edit in the toolbar, or press Command-E. The window shows the Markdown source beside the result.
The format bar writes the Markdown markers. Select text, then click a control. With no selection, the control puts the cursor between the markers. A second click on the same control removes the markers.
The Return key in a list starts the next item. The Return key on an item with no text ends the list.
The source has line numbers. The source and the result scroll together, line for line. Drag the line between them to change the widths.
The app saves each change to the file. Undo is Command-Z.

Style syntax
Printroom adds color to Markdown with the Pandoc attribute syntax. Other viewers show the syntax as plain text.
| Source | Result |
|---|---|
[text]{.red} |
Text in a theme color |
[text]{.green .bg-green} |
Text in a theme color on a tint |
[text]{color=#e63 bg=yellow} |
Text in an exact color |
[text]{.small} or [text]{.large} |
Smaller or larger text |
# Heading {.blue} |
A heading in a theme color |
==text== |
Highlighted text |
> [!NOTE] |
An alert box |
The theme colors are red, orange, yellow, green, blue, purple, and gray. Each theme color has a bg- class. The alert types are NOTE, TIP, IMPORTANT, WARNING, and CAUTION.
See sample.md for an example of each element.
The app follows the light or dark appearance of the system.

Documents that are not trusted
Printroom is for files that a different person or an AI agent wrote. A document cannot run a script or change the app.
- Raw HTML in a document is not shown.
- An image shows only if its file is in the directory of the document, or below it:
. The file types are PNG, JPEG, GIF, WebP, and SVG. - An image from the web is not shown. It sends a request to its server when the file opens, and the request can carry data.
- An image from a different directory is not shown. A PDF of the document can go to other persons, and it must not carry a file that the reader did not select.
- A link opens a Markdown file or a web page in the browser. It does not open other files.
- The Word export does not read other files and does not use the network. Thus a Word file has no images.
Skill for AI agents
skills/printroom/SKILL.md tells an AI agent how to write a Markdown file for Printroom. It contains the style syntax and the rules for a readable report.
To install the skill for Claude Code, copy the directory:
cp -r skills/printroom ~/.claude/skills/
docs/example-report.md is a report that follows the rules of the skill.
Install the app
Printroom has a Developer ID signature, and Apple notarizes each release. Thus macOS opens the app without a security warning.
Each release has one file, Printroom-<version>-universal.zip. The app in the file runs on Macs with Apple silicon and on Macs with Intel processors.
To install with Homebrew, run this command:
brew install --cask dashpes/tap/printroom
To install from the release page:
- Download
Printroom-<version>-universal.zipfrom the latest release. - Open the zip file.
- Move
Printroom.appto/Applications.
Build the app
- Install Rust, Node.js, and the Xcode command line tools.
- Run
npm install. - Run
npm run tauri build -- --bundles app. - Copy
src-tauri/target/release/bundle/macos/Printroom.appto/Applications.
Open a file
Use one of these methods:
- Select File > Open (Command-O).
- Run
open -a Printroom file.md. - Drop a file on the window.
- Run the binary with a path:
Printroom.app/Contents/MacOS/printroom file.md.
Make Printroom the default app for Markdown
- Select a
.mdfile in Finder. - Press Command-I.
- Select Printroom in the Open with list.
- Click Change All.
After this procedure, open file.md shows the file in Printroom.
Do the tests
- Run
cargo testin thesrc-tauridirectory. - Run
npm testin the top directory.
Make a release
docs/release.md gives the procedure. The procedure needs the Developer ID certificate of the owner.
License
Printroom has the MIT License. See LICENSE.
The Word export starts pandoc as a different program. pandoc has its own license, the GPL, and is not a part of Printroom.
src-tauri/src/reference.docx gives the styles of the Word export. src-tauri/make_reference_docx.py makes it from the default reference document of pandoc, and changes the styles.