Pandoc

Convert documents between formats and create PDFs with Pandoc and LaTeX.

  • document
  • testing

Run it

briq run pandoc

Fields

NameTypeOptionsDefault
imagestring—"pandoc/latex:latest"
envrecord{ key: string | { secret, value?, literal?, scope?, hosts?, locations? } }{}
cmdstring | string[]——
sizeenumsmall, medium, large"small"
volumeobject{ gb? }{"gb":1}
filesrecord{ key: string | { base64 } }—
egressobject{ hosts }—

Outputs

Returned by briq_run once the stack is healthy. Hosts resolve inside your team network; secrets are generated per run.

PANDOC_HOST
pandoc.<stack>.internal
WORKDIR
/work

What it runs

BriqImagePortsSizeVolume
pandocpandoc/latex:latest—small1 GB at /work

When to use it

  • The agent must produce a PDF, a DOCX or a deck and has nothing to convert with.
  • You want LaTeX-quality typesetting, not a browser's print-to-PDF.
  • Many conversions in one session, without a cold start each time.

Tips

  • Files in and out: briq_files_put to /work/input.md, briq_exec with pandoc /work/input.md -o /work/output.pdf, then briq_files_get /work/output.pdf.
  • Unicode or custom fonts: add --pdf-engine=xelatex.
  • No ports: everything goes through briq_exec and the file tools.
  • Large inputs: /work is a volume that starts small; set volume: { gb } for more. Set it when the briq is created, and it counts toward your plan's disk.

On this page

Free to try

Try briq, on us.

Every new account starts with €10 of credits. No card.

Start building

How can we help?

Message to the briq team