examples/

directory
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 9, 2026 License: MIT

Directories

Path Synopsis
Command appointment renders the offer/appointment-letter example to a PDF.
Command appointment renders the offer/appointment-letter example to a PDF.
bench command
Command bench load-tests the in-process JSX->PDF render.
Command bench load-tests the in-process JSX->PDF render.
Command boxes renders a small styled View tree (a waffle-tree/v1 document) to boxes.pdf, demonstrating the end-to-end pipeline: contract → tree → layout → PDF.
Command boxes renders a small styled View tree (a waffle-tree/v1 document) to boxes.pdf, demonstrating the end-to-end pipeline: contract → tree → layout → PDF.
Command hello renders a minimal single-page PDF using the Phase 1 writer core.
Command hello renders a minimal single-page PDF using the Phase 1 writer core.
Command multipage builds a data-driven document (24 rows) that overflows a small page, demonstrating automatic pagination.
Command multipage builds a data-driven document (24 rows) that overflows a small page, demonstrating automatic pagination.
This example renders a React-authored invoice to a PDF with data supplied from Go — the whole point of waffle: author in React, drive it with Go data, render in-process on goja with no Node.js.
This example renders a React-authored invoice to a PDF with data supplied from Go — the whole point of waffle: author in React, drive it with Go data, render in-process on goja with no Node.js.
Command text renders a small typographic document to text.pdf, exercising the standard-14 font path (Helvetica/Times/Courier, weights and italics) end to end.
Command text renders a small typographic document to text.pdf, exercising the standard-14 font path (Helvetica/Times/Courier, weights and italics) end to end.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL