Open-source agent skill · zero-dependency CLI
Turn Markdown and a little JSON into a whitepaper that looks published.
Write the text in Markdown. Add a small JSON file for the title, authors and sources. Get a cover, a contents page with real page numbers, charts, call-outs, notes and a running footer, ready to print or save as PDF.
npx github:isatimur/whitepaper-md render paper.json --out paper.html
The ideap. 01
A long report should look like it was set by a publisher, even when one person wrote it on a Tuesday.
- Plain files in.A Markdown file and a JSON file. Both stay yours.
- One file out.A self-contained HTML file. Open it, print it or save it as PDF.
- Numbers you can trust.Every page number in the contents is checked against the real print layout.
- No dependencies.One Node script. Playwright is optional, for PDF export.
How it worksp. 02
-
Write
Put the text in Markdown. Use
#for chapters and the engine numbers them. Add tables, charts, call-outs, notes and citations.## Where we start Table: Portfolio {#tbl-portfolio} -
Describe
A small JSON file holds the title, authors, abstract, key figures and sources. Your agent writes it with you and checks it.
{ "title": "Rooftops Together", "body": "paper.md" } -
Render
Pick a theme from a side-by-side preview. The engine lays out every page, fills in the contents and writes one file.
npx github:isatimur/whitepaper-md render paper.json
“Turn my notes on the cycling study into a policy brief with a chart and a reference list.”
What a published report hasp. 03
- Cover page1
- Abstract and key figures2
- Contents with page numbers3
- Numbered headings4
- Charts from a few lines of JSON5
- Tables that split cleanly6
- Pull quotes and call-outs7
- Notes, citations and references8
- Running header, “Page x of y”9
- A4 and US Letter10
- Any script, left to right or right to left11
- Escaped text, no raw HTML12
The list above is only a joke about contents pages. The real one is generated: the print check renders every example in every theme on A4 and Letter, prints each to PDF, and compares every page number in the contents with where the heading lands.
Five themesp. 04
Each theme has its own type, cover and layout. Every picture is a real page from the engine. Open one to read the whole paper.
Examplesp. 05
Five fictional reports. The organisations, the people and every number are invented sample data.
Installp. 06
Claude Code plugin
/plugin marketplace add isatimur/whitepaper-md
/plugin install whitepaper-md@whitepaper-md
Any agent, via skills.sh
npx skills add isatimur/whitepaper-md
Command line
npx github:isatimur/whitepaper-md render paper.json --out paper.html
Node 20 or newer. Nothing else to install.



Rooftops Together
Kerbs, Not Paint
The Maintainer’s Ledger
Operations Review
Every Object Seen