Skip to content
branded pdfdeliverablesinfra

Niflheim PDF Render: one pipeline that turns markdown into a locked-brand PDF

Niflheim is our branded PDF generator: one pipeline turns any markdown into a locked-brand dark-canvas PDF. Proposals, audits, briefs, all on-brand, every time.

TL;DR. JustinHarris.AI, the Las Vegas AI Consultant, built a branded PDF generator that turns any markdown file into a Letter-size, locked-brand PDF. One pipeline renders proposals, audits, briefs, and research bundles with the same cover, footer, margins, and brand color every time. The writer writes in plain text; the pipeline brands it. No hand layout, no drift between two documents.

The problem: every document looks slightly different, and that reads as amateur

An operator who ships client documents has the same recurring problem. A proposal goes out one day, an audit the next, a brief the day after, and each one is laid out by hand in a design tool. The margins are a little different. The cover is a little different. The brand color was eyeballed. A placeholder slipped through. None of it is wrong enough to notice on its own, but side by side the documents do not look like they came from the same studio. At the exact moment a prospect is deciding whether to trust you, inconsistent documents quietly say the opposite. And the operator becomes the layout-checker of last resort on every single send.

  • Margins and spacing drift between documents built on different days.
  • Brand color gets eyeballed instead of locked.
  • Covers and footers are rebuilt by hand and never quite match.
  • Placeholders and broken sections slip through because nothing checks them.

What a branded PDF generator actually does

A branded PDF generator is one pipeline that owns presentation so the writer only has to own content. You write the document in plain markdown, the same plain text you would write anywhere, and the pipeline turns it into a finished, on-brand PDF. The brand surface is not rebuilt each time. It is locked once at the render layer: the cover, the footer wordmark, the margins, the typefaces, and the brand color are all fixed in a single place. Feed the pipeline a one-page brief or a forty-page research bundle and both come out looking like the same studio made them, because, by construction, the same studio did.

How the markdown-to-branded-PDF pipeline works

The flow is deliberately simple, because simple is what makes it reproducible. Your markdown, either a single file or a set of section files with a cover config, is converted to HTML by pandoc. The pipeline then injects the locked Niflheim style block, builds the cover page (a small eyebrow label, the accent title, a one-paragraph lede, the prepared-for and prepared-by details, and the footer wordmark), and lays out the continuation sheets. Finally it drives a headless Chromium browser through Playwright to print the whole thing to a Letter-size PDF. Using a real browser to render means the print is faithful: backgrounds bleed to the paper edge, web fonts render correctly, and the dark canvas and sage accent come out exactly as designed. There are no model calls anywhere in this path, so the same markdown always produces the same PDF.

  • Markdown in: a single file (shortcut mode) or a section list plus a cover config (config mode).
  • Pandoc converts markdown to HTML so the writer never touches code.
  • A locked style block applies the entire brand surface in one place.
  • Headless Chromium prints a Letter-size, full-bleed dark-canvas PDF with the JHAI cover and footer.

What the branded PDF generator locks, so you never check it again

The whole point is that the things a human would otherwise have to verify on every document are guaranteed instead. The page is US Letter with a full-bleed dark canvas that reaches the paper edge. Cover padding is fixed at 0.8 inch by 0.65 inch, and continuation sheets hold the same margins across page breaks so a long document never loses its frame. The accent is a single locked sage color. The typefaces are Geist for display and IBM Plex Mono for captions, pulled consistently so there is nothing to install and nothing to drift. The JHAI logomark and footer wordmark land on every document. Because all of this is set once, a reviewer never has to confirm it again. The only thing left to check is the writing itself.

How this beats Canva and raw pandoc

Two obvious alternatives fall short in opposite directions. A design tool like Canva gives you full control but demands hand layout on every document, so two documents drift and nothing is reproducible from a source. Raw pandoc gives you the markdown-in convenience but produces a plain, generic document with default styling and no brand. The branded PDF generator takes the best of both: the markdown-in convenience of pandoc and a finished, locked brand surface on top of it. You get a branded cover, footer wordmark, full-bleed dark canvas, and print-fidelity fonts without ever opening a canvas, and the same source always renders the same way.

Proven on real client deliverables

This is not a demo. The pipeline is the canonical way JHAI ships any client PDF, and it replaced the one-off render scripts that used to live in individual client folders and quietly diverge. Its proven baselines are real client work: the NurseForward sprint-1 ad strategy as the single-file baseline, and the GIOStar Las Vegas stack recommendation and deep-research bundle as the multi-section baselines. Every rendered PDF still passes a separate creative quality gate before it is called done, which catches off-brand color, banned phrases, low resolution, and placeholder content. The render guarantees the brand; the gate guarantees the finish.

Related work

Get your free AI Audit and we will show you where on-brand, reproducible documents can replace hours of hand layout in your business. Get your free AI Audit.

It is one pipeline that turns plain markdown into a finished, on-brand PDF. The brand surface, cover, footer, margins, fonts, and color are locked once at the render layer, so every document you produce looks like it came from the same studio without any hand layout.

Next Step

Want a build like this for your business?

I'll map exactly where AI can save you time, cut costs, and drive revenue.

Unlock AI Audit